diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-11-16 10:12:42 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-11-16 10:12:42 +0000 |
commit | 69aa44f7a3de87baf4e1fce36e93f6b6e5635faa (patch) | |
tree | 738167886464e410aed72b20191fa5f95b4d14f6 /cmp2.c | |
parent | 4c621675273ea0d3f7ef9ec305b60a20eaecad7e (diff) | |
download | mpfr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ } |