fn gcd(a: anytype, b: anytype) @TypeOf(a, b)
[src]
Returns the greatest common divisor (GCD) of two unsigned integers (a and b) which are not both zero. For example, the GCD of 8 and 12 is 4, that is, gcd(8, 12) == 4.
fn gcd(a: anytype, b: anytype) @TypeOf(a, b)
Returns the greatest common divisor (GCD) of two unsigned integers (a and b) which are not both zero. For example, the GCD of 8 and 12 is 4, that is, gcd(8, 12) == 4.