summaryrefslogtreecommitdiff
path: root/set.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 /set.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 'set.c')
-rw-r--r--set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/set.c b/set.c
index db3497a76..8a4801f8e 100644
--- a/set.c
+++ b/set.c
@@ -49,7 +49,7 @@ mpfr_set4 (mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t rnd_mode, int signb)
* just copy the mantissa, and set the exponent and the sign
* The result is exact. */
MPN_COPY (MPFR_MANT (a), MPFR_MANT (b),
- (MPFR_PREC (b) + GMP_LIMB_BITS-1)/GMP_LIMB_BITS);
+ (MPFR_PREC (b) + GMP_NUMB_BITS-1)/GMP_NUMB_BITS);
MPFR_RET (0);
}
else