For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
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.