summaryrefslogtreecommitdiff
path: root/div_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-08-16 09:05:15 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-08-16 09:05:15 +0000
commita5dc53c8d3acf9f0a7ec38895df3d6676845b162 (patch)
tree8c1545e2cae10aaa5afac38683f352ed6aadbebc /div_ui.c
parentf322bdb378f55d02a41a5d73f3a467d201f74741 (diff)
downloadmpfr-a5dc53c8d3acf9f0a7ec38895df3d6676845b162.tar.gz
replaced mp_bits_per_limb by BITS_PER_MP_LIMB (constant)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@701 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'div_ui.c')
-rw-r--r--div_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/div_ui.c b/div_ui.c
index 808fd92a6..bf80c5818 100644
--- a/div_ui.c
+++ b/div_ui.c
@@ -84,7 +84,7 @@ mpfr_div_ui(y, x, u, rnd_mode)
else /* dif < 0 i.e. xn > yn */
c = mpn_divrem_1(tmp, 0, xp-dif, yn, c);
- if (tmp[yn]==0) { tmp--; sh=0; EXP(y) -= mp_bits_per_limb; }
+ if (tmp[yn]==0) { tmp--; sh=0; EXP(y) -= BITS_PER_MP_LIMB; }
/* shift left to normalize */
count_leading_zeros(sh, tmp[yn]);
if (sh) {