gcd¶ In std/math. fn gcd(self: Int, other: Int) : Int The greatest common divisor of self and other, at least 0: gcd(12, 18) is 6, and gcd(0, 0) is 0.