summaryrefslogtreecommitdiff
path: root/get_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_ui.c')
-rw-r--r--get_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_ui.c b/get_ui.c
index 90239bab9..7268a6d67 100644
--- a/get_ui.c
+++ b/get_ui.c
@@ -48,7 +48,7 @@ mpfr_get_ui (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);