pub fn gcd(x: i64, y: i64) -> Option<i64>
The greatest common divisor of x and y, which is never negative. gcd(0, 0) is 0. None only where it is 2^63, as for gcd(i64::MIN, 0).
gcd(0, 0)
None
gcd(i64::MIN, 0)