Description: Closure of the gcd operator if the second operand is not 0. (Contributed by AV, 10-Jul-2021)