|
inlineconstexpr |
Computes the greatest common divisor of the inputs.
Defined in header
Parameters
p
, n
: ordered values.
Return value
If both p and n are zero, returns zero. Otherwise, returns the greatest common divisor of |p| and |n|.
p
and n
can be of any ordered values type, but when the types are not integral the greatest common divisor is defined only if p
and n
elements are [flint](eve::is_flint). If any of the arguments is not flint the result is undefined.Example