cpp/numeric/gcd

Computes the greatest common divisor of the integers and.

Return value
If both and  are zero, returns zero. Otherwise, returns the greatest common divisor of and.

Remarks
If either or  is not an integer type, or if either is (possibly cv-qualified), the program is ill-formed.

If either or  is not representable as a value of type, the behavior is undefined.

Exceptions
Throws no exceptions.