Function qcgpu::gcd [] [src]

pub fn gcd(a: i32, b: i32) -> i32

Calculate the greatest common divisor (Euclid's algorithm)