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 --- mul_ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mul_ui.c') diff --git a/mul_ui.c b/mul_ui.c index 7bceedd21..ee40251ea 100644 --- a/mul_ui.c +++ b/mul_ui.c @@ -86,7 +86,7 @@ mpfr_mul_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mp_rnd_t rnd_mode) /* since the case u=1 was treated above, we have u >= 2, thus yp[xn] >= 1 since x was msb-normalized */ MPFR_ASSERTN(yp[xn] != 0); - if ((yp[xn] & MP_LIMB_T_HIGHBIT) == 0) + if ((yp[xn] & MPFR_LIMB_HIGHBIT) == 0) { count_leading_zeros(cnt, yp[xn]); mpn_lshift (yp, yp, xn + 1, cnt); @@ -106,7 +106,7 @@ mpfr_mul_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mp_rnd_t rnd_mode) if (c) /* rounded result is 1.0000000000000000... */ { - old_yp[yn-1] = MP_LIMB_T_HIGHBIT; + old_yp[yn-1] = MPFR_LIMB_HIGHBIT; cnt++; } -- cgit v1.2.1