summaryrefslogtreecommitdiff
path: root/get_ld.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_ld.c')
-rw-r--r--get_ld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/get_ld.c b/get_ld.c
index 893de6af2..53c174b7f 100644
--- a/get_ld.c
+++ b/get_ld.c
@@ -132,10 +132,10 @@ mpfr_get_ld (mpfr_srcptr x, mpfr_rnd_t rnd_mode)
in MPFR, thus any exponent <= -16382 corresponds to a subnormal
number */
denorm = MPFR_UNLIKELY (e <= -16382) ? - e - 16382 + 1 : 0;
-#if BITS_PER_MP_LIMB >= 64
+#if GMP_LIMB_BITS >= 64
ld.s.manl = (tmpmant[0] >> denorm);
ld.s.manh = (tmpmant[0] >> denorm) >> 32;
-#elif BITS_PER_MP_LIMB == 32
+#elif GMP_LIMB_BITS == 32
if (MPFR_LIKELY (denorm == 0))
{
ld.s.manl = tmpmant[0];
@@ -152,7 +152,7 @@ mpfr_get_ld (mpfr_srcptr x, mpfr_rnd_t rnd_mode)
ld.s.manh = 0;
}
#else
-# error "BITS_PER_MP_LIMB must be 32 or >= 64"
+# error "GMP_LIMB_BITS must be 32 or >= 64"
/* Other values have never been supported anyway. */
#endif
if (MPFR_LIKELY (denorm == 0))