From e96d091c2f7de688078dff66e1c449a97f0a5491 Mon Sep 17 00:00:00 2001 From: wbhart Date: Thu, 23 Jul 2009 02:39:58 +0000 Subject: [PATCH] Fixed some missing definitions. --- gmp-impl.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gmp-impl.h b/gmp-impl.h index 48acd371..a26a7df1 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -1092,6 +1092,15 @@ void mpn_toom42_mul _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t, #define mpn_toom4_mul_n __MPN(toom4_mul_n) void mpn_toom4_mul_n _PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t)); +#define mpn_toom4_mul __MPN(toom4_mul) +void mpn_toom4_mul _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, + mp_size_t)); + +#define mpn_toom4_interpolate __MPN(toom4_interpolate) +void mpn_toom4_interpolate _PROTO ((mp_ptr rp, mp_size_t * rpn, mp_size_t sn, + mp_ptr tp, mp_size_t s4, mp_size_t n4, mp_size_t n6, + mp_limb_t r30)); + #define mpn_toom7_mul_n __MPN(toom7_mul_n) void mpn_toom7_mul_n _PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t)); @@ -3630,9 +3639,6 @@ void tc4_submul_1(mp_ptr wp, mp_size_t * wn, mp_srcptr x, mp_size_t xn, mp_limb_ void tc4_copy (mp_ptr yp, mp_size_t * yn, mp_size_t offset, mp_srcptr xp, mp_size_t xn); -void mpn_toom4_interpolate(mp_ptr rp, mp_size_t * rpn, mp_size_t sn, - mp_ptr tp, mp_size_t s4, mp_size_t n4, mp_size_t n6, mp_limb_t r30); - /* __GMPF_BITS_TO_PREC applies a minimum 53 bits, rounds upwards to a whole limb and adds an extra limb. __GMPF_PREC_TO_BITS drops that extra limb, hence giving back the user's size in bits rounded up. Notice that