summaryrefslogtreecommitdiff
path: root/cmp2.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 10:12:42 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 10:12:42 +0000
commit69aa44f7a3de87baf4e1fce36e93f6b6e5635faa (patch)
tree738167886464e410aed72b20191fa5f95b4d14f6 /cmp2.c
parent4c621675273ea0d3f7ef9ec305b60a20eaecad7e (diff)
downloadmpfr-69aa44f7a3de87baf4e1fce36e93f6b6e5635faa.tar.gz
1 -> MP_LIMB_T_ONE
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1515 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cmp2.c')
-rw-r--r--cmp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmp2.c b/cmp2.c
index e7451bdeb..be9fb1021 100644
--- a/cmp2.c
+++ b/cmp2.c
@@ -143,7 +143,7 @@ mpfr_cmp2 (mpfr_srcptr b, mpfr_srcptr c)
count_leading_zeros(z, dif); /* dif > 1 here */
res += z;
- if (dif != ((mp_limb_t) 1 << (BITS_PER_MP_LIMB - z - 1)))
+ if (dif != (MP_LIMB_T_ONE << (BITS_PER_MP_LIMB - z - 1)))
return res; /* dif is not a power of two */
}