diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-11-16 09:38:47 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-11-16 09:38:47 +0000 |
commit | ef4a25753364fe21a6cc89b698ee6073ad8b29a3 (patch) | |
tree | fa5ccca704d5ea79ea400e6c6c35af82f034c6ed /sub1.c | |
parent | d32dad4bd4558ef34e8168e4d902b3ebb428f594 (diff) | |
download | mpfr-ef4a25753364fe21a6cc89b698ee6073ad8b29a3.tar.gz |
1 -> BITS_PER_MP_LIMB
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1496 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sub1.c')
-rw-r--r-- | sub1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ mpfr_sub1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, /* now perform rounding */ sh = an * BITS_PER_MP_LIMB - MPFR_PREC(a); /* last unused bits from a */ - carry = ap[0] & ((MP_LIMB_T_ONE << sh) - 1); + carry = ap[0] & ((MP_LIMB_T_ONE << sh) - MP_LIMB_T_ONE); ap[0] -= carry; if (rnd_mode == GMP_RNDN) |