Add gcd and lcm functions in mpirxx.h
This commit is contained in:
parent
88ebf14002
commit
d8e85154df
2
mpirxx.h
2
mpirxx.h
@ -3326,6 +3326,8 @@ __GMP_DEFINE_UNARY_FUNCTION(floor, __gmp_floor_function)
|
|||||||
__GMP_DEFINE_UNARY_FUNCTION(ceil, __gmp_ceil_function)
|
__GMP_DEFINE_UNARY_FUNCTION(ceil, __gmp_ceil_function)
|
||||||
__GMP_DEFINE_UNARY_FUNCTION(sqrt, __gmp_sqrt_function)
|
__GMP_DEFINE_UNARY_FUNCTION(sqrt, __gmp_sqrt_function)
|
||||||
__GMP_DEFINE_BINARY_FUNCTION(hypot, __gmp_hypot_function)
|
__GMP_DEFINE_BINARY_FUNCTION(hypot, __gmp_hypot_function)
|
||||||
|
__GMP_DEFINE_BINARY_FUNCTION(gcd, __gmp_gcd_function)
|
||||||
|
__GMP_DEFINE_BINARY_FUNCTION(lcm, __gmp_lcm_function)
|
||||||
|
|
||||||
__GMP_DEFINE_UNARY_TYPE_FUNCTION(int, sgn, __gmp_sgn_function)
|
__GMP_DEFINE_UNARY_TYPE_FUNCTION(int, sgn, __gmp_sgn_function)
|
||||||
__GMP_DEFINE_BINARY_TYPE_FUNCTION(int, cmp, __gmp_cmp_function)
|
__GMP_DEFINE_BINARY_TYPE_FUNCTION(int, cmp, __gmp_cmp_function)
|
||||||
|
Loading…
Reference in New Issue
Block a user