summaryrefslogtreecommitdiff
path: root/set_z.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-06-26 23:51:49 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-06-26 23:51:49 +0000
commitd63797c4a84006c917de554b6e6cc091b222ecd0 (patch)
treea9c55ce5342a1d48250e16cf498f74c7d351be57 /set_z.c
parentd8cf7f38a1586d22933650549d6808c942faf492 (diff)
downloadmpfr-d63797c4a84006c917de554b6e6cc091b222ecd0.tar.gz
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
Diffstat (limited to 'set_z.c')
-rw-r--r--set_z.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/set_z.c b/set_z.c
index 8f16d9030..a60a05895 100644
--- a/set_z.c
+++ b/set_z.c
@@ -119,7 +119,7 @@ mpfr_set_z (mpfr_ptr f, mpz_srcptr z, mp_rnd_t rnd_mode)
MPFR_ASSERTN(cc == 0);
if (dif > 0)
cc = zp[--dif] << k;
- if ((cc & MP_LIMB_T_HIGHBIT) == 0)
+ if ((cc & MPFR_LIMB_HIGHBIT) == 0)
to0 = 1; /* rounding bit is 0 */
else
cc <<= 1;
@@ -155,7 +155,7 @@ mpfr_set_z (mpfr_ptr f, mpz_srcptr z, mp_rnd_t rnd_mode)
else
{
exp++;
- fp[fn-1] = MP_LIMB_T_HIGHBIT;
+ fp[fn-1] = MPFR_LIMB_HIGHBIT;
}
}
inex = sign_z;