gcd
Computes Greatest Common Divisor of a and b.
It's computed by Euclidean algorithm. Hence, its time complexity is \(O(\log(a+b))\) (see Wolfram MathWorld).
Computes Greatest Common Divisor of the values.
Computes Greatest Common Divisor of a and b.
It's computed by Euclidean algorithm. Hence, its time complexity is \(O(\log(a+b))\) (see Wolfram MathWorld).
Computes Greatest Common Divisor of the values.