(PHP 4 >= 4.0.4, PHP 5, PHP 7)
gmp_gcd — Calculate GCD
GMP gmp_gcd ( GMP $a , GMP $b )
Calculate greatest common divisor of a and b. The result is always positive even if either of, or both, input operands are negative.
a
b
Either a GMP number resource in PH
联系方式: