Function tract_core::internal::num_integer::gcd
source · [−]pub fn gcd<T>(x: T, y: T) -> T where
T: Integer, Expand description
Calculates the Greatest Common Divisor (GCD) of the number and other. The
result is always non-negative.