function
gcd
gcd(a: Int, b: Int) -> Int
Computes the greatest common divisor of two integers.
Args:
- a (
Int
): The first input argument. Constraints: must be non-negative. - b (
Int
): The second input argument. Constraints: must be non-negative.
Returns:
The gcd
of the inputs.