summaryrefslogtreecommitdiff
path: root/sqrt.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-01-08 21:36:26 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-01-08 21:36:26 +0000
commite77ab9365d2b9771c80e851ddc63dda142613188 (patch)
tree70f1d98c129b9f3ffda65d5d5b690cbe3e19e836 /sqrt.c
parentfbc1bcfac594b04268c66729bf4a023910be578a (diff)
downloadmpfr-e77ab9365d2b9771c80e851ddc63dda142613188.tar.gz
Replaced GMP_LIMB_BITS by GMP_NUMB_BITS to use only one of these macros.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6646 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sqrt.c')
-rw-r--r--sqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqrt.c b/sqrt.c
index fb670b1a5..ac1a6d261 100644
--- a/sqrt.c
+++ b/sqrt.c
@@ -208,7 +208,7 @@ mpfr_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
2nd most significant bit of up[k-1];
(b) if the exponent of u is odd, the 1/4 bit is the
1st most significant bit of up[k-1]; */
- sticky1 = MPFR_LIMB_ONE << (GMP_LIMB_BITS - 2 + odd_exp);
+ sticky1 = MPFR_LIMB_ONE << (GMP_NUMB_BITS - 2 + odd_exp);
if (up[k - 1] < sticky1)
inexact = -1;
else if (up[k - 1] > sticky1)