Function num_integer::gcd

source ·
pub fn gcd<T: Integer>(x: T, y: T) -> T
Expand description

Calculates the Greatest Common Divisor (GCD) of the number and other. The result is always non-negative.