From d63797c4a84006c917de554b6e6cc091b222ecd0 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Wed, 26 Jun 2002 23:51:49 +0000 Subject: MP_LIMB_T_HIGHBIT -> MPFR_LIMB_HIGHBIT. MPFR is now compatible with GMP 4.1. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1955 280ebfd0-de03-0410-8827-d642c229c3f4 --- sub1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sub1.c') diff --git a/sub1.c b/sub1.c index afa50668a..0365173e1 100644 --- a/sub1.c +++ b/sub1.c @@ -269,7 +269,7 @@ mpfr_sub1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode, if ((rnd_mode == GMP_RNDN) && !k && sh == 0) { - mp_limb_t half = MP_LIMB_T_HIGHBIT; + mp_limb_t half = MPFR_LIMB_HIGHBIT; is_exact = (bb == cc); @@ -372,7 +372,7 @@ mpfr_sub1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode, add_one_ulp: /* add one unit in last place to a */ if (mpn_add_1 (ap, ap, an, MP_LIMB_T_ONE << sh)) /* result is a power of 2 */ { - ap[an-1] = MP_LIMB_T_HIGHBIT; + ap[an-1] = MPFR_LIMB_HIGHBIT; add_exp = 1; } inexact = 1; /* result larger than exact value */ @@ -380,7 +380,7 @@ mpfr_sub1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode, truncate: if ((ap[an-1] >> (BITS_PER_MP_LIMB - 1)) == 0) /* case 1 - epsilon */ { - ap[an-1] = MP_LIMB_T_HIGHBIT; + ap[an-1] = MPFR_LIMB_HIGHBIT; add_exp = 1; } -- cgit v1.2.1