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 5354ef354..ed1e31ef9 100644
--- a/get_ui.c
+++ b/get_ui.c
@@ -54,7 +54,7 @@ mpfr_get_ui (mpfr_srcptr f, mpfr_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_LIMB_SIZE(x);
- s = MPFR_MANT(x)[n - 1] >> (BITS_PER_MP_LIMB - exp);
+ s = MPFR_MANT(x)[n - 1] >> (GMP_LIMB_BITS - exp);
}
mpfr_clear (x);