gmp_gcd Calculate GCD &reftitle.description; resourcegmp_gcd resourcea resourceb Calculate greatest common divisor of a and b. The result is always positive even if either of, or both, input operands are negative. &reftitle.parameters; a &gmp.parameter; b &gmp.parameter; &reftitle.returnvalues; A positive GMP number that divides into both a and b. &reftitle.examples; <function>gmp_gcd</function> example ]]> &example.outputs;