Mojo function
gcd
gcd(m: Int, n: Int, /) -> Int
Compute the greatest common divisor of two integers.
Args:
Returns:
Int: The greatest common divisor of the two integers.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!