summaryrefslogtreecommitdiff
path: root/src/mulders.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mulders.c')
-rw-r--r--src/mulders.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mulders.c b/src/mulders.c
index 4cc94cb31..d1be67541 100644
--- a/src/mulders.c
+++ b/src/mulders.c
@@ -41,7 +41,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
static short mulhigh_ktab[MPFR_MULHIGH_TAB_SIZE];
#else
static short mulhigh_ktab[] = {MPFR_MULHIGH_TAB};
-#define MPFR_MULHIGH_TAB_SIZE ((mp_size_t) numberof (mulhigh_ktab))
+#define MPFR_MULHIGH_TAB_SIZE (numberof_const (mulhigh_ktab))
#endif
/* Put in rp[n..2n-1] an approximation of the n high limbs
@@ -151,7 +151,7 @@ mpfr_mullow_n (mpfr_limb_ptr rp, mpfr_limb_srcptr np, mpfr_limb_srcptr mp,
static short sqrhigh_ktab[MPFR_SQRHIGH_TAB_SIZE];
#else
static short sqrhigh_ktab[] = {MPFR_SQRHIGH_TAB};
-#define MPFR_SQRHIGH_TAB_SIZE (numberof (sqrhigh_ktab))
+#define MPFR_SQRHIGH_TAB_SIZE (numberof_const (sqrhigh_ktab))
#endif
/* Put in rp[n..2n-1] an approximation of the n high limbs
@@ -192,7 +192,7 @@ mpfr_sqrhigh_n (mpfr_limb_ptr rp, mpfr_limb_srcptr np, mp_size_t n)
static short divhigh_ktab[MPFR_DIVHIGH_TAB_SIZE];
#else
static short divhigh_ktab[] = {MPFR_DIVHIGH_TAB};
-#define MPFR_DIVHIGH_TAB_SIZE (numberof (divhigh_ktab))
+#define MPFR_DIVHIGH_TAB_SIZE (numberof_const (divhigh_ktab))
#endif
#if !(defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_SBPI1_DIVAPPR_Q))