Function feroxide::gcd [] [src]

pub fn gcd(x: i32, y: i32) -> i32

Calculate Greatest Common Divisor (GCD), using Euclides' algorithm