summaryrefslogtreecommitdiff
path: root/get_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-01-08 19:13:48 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-01-08 19:13:48 +0000
commit1f7f06d17a7f5bacaa40d8cea4237ffe094ef433 (patch)
tree97fdc324d0ae9640c439df546f625d8a15ad50fe /get_ui.c
parent8f36df5d6bf5f20f4c4e60e9ac22e9d4d4a6508e (diff)
downloadmpfr-1f7f06d17a7f5bacaa40d8cea4237ffe094ef433.tar.gz
BITS_PER_MP_LIMB -> GMP_LIMB_BITS
got rid of BYTES_PER_MP_LIMB in configure.in (no longer defined by GMP) Note[VL] (mpfr-impl.h): a mpn_sqr_n() macro is defined to use mpn_mul if it is not already defined (in gmp-impl.h from GMP 4.x). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6644 280ebfd0-de03-0410-8827-d642c229c3f4
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);