num_integer

Function 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.