Calculates the greatest common divisor (GCD) of two numbers.
The first input number.
The second input number.
The GCD of num1 and num2.
num1
num2
This function uses the Euclidean algorithm.
Calculates the greatest common divisor (GCD) of two numbers.