Function num::integer::gcd_lcm

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

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