From d8e85154dff049d6fe138e900713ce38c7148570 Mon Sep 17 00:00:00 2001 From: Brian Gladman Date: Fri, 23 Feb 2018 16:46:51 +0000 Subject: [PATCH] Add gcd and lcm functions in mpirxx.h --- mpirxx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mpirxx.h b/mpirxx.h index f69cb48c..2b0cb9a6 100644 --- a/mpirxx.h +++ b/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(sqrt, __gmp_sqrt_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_BINARY_TYPE_FUNCTION(int, cmp, __gmp_cmp_function)