num_integer

Function gcd_lcm

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

Calculates the Greatest Common Divisor (GCD) and Lowest Common Multiple (LCM) of the number and other.