summaryrefslogtreecommitdiff
path: root/get_si.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_si.c')
-rw-r--r--get_si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_si.c b/get_si.c
index cf7535abe..68c4aecb8 100644
--- a/get_si.c
+++ b/get_si.c
@@ -48,7 +48,7 @@ mpfr_get_si (mpfr_srcptr f, mp_rnd_t rnd)
/* now the result is in the most significant limb of x */
exp = MPFR_GET_EXP (x); /* since |x| >= 1, exp >= 1 */
- n = MPFR_ESIZE(x);
+ n = MPFR_LIMB_SIZE(x);
s = MPFR_MANT(x)[n - 1] >> (GMP_NUMB_BITS - exp);
mpfr_clear (x);