summaryrefslogtreecommitdiff
path: root/tests/tcmp_ui.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 /tests/tcmp_ui.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 'tests/tcmp_ui.c')
-rw-r--r--tests/tcmp_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcmp_ui.c b/tests/tcmp_ui.c
index d5c3ee7be..2c1f71d92 100644
--- a/tests/tcmp_ui.c
+++ b/tests/tcmp_ui.c
@@ -209,8 +209,8 @@ main (void)
/* corner case */
mpfr_set_ui (x, 1, MPFR_RNDZ);
- mpfr_mul_2exp (x, x, GMP_LIMB_BITS - 1, MPFR_RNDZ);
- /* now EXP(x)=GMP_LIMB_BITS */
+ mpfr_mul_2exp (x, x, GMP_NUMB_BITS - 1, MPFR_RNDZ);
+ /* now EXP(x)=GMP_NUMB_BITS */
MPFR_ASSERTN(mpfr_cmp_si (x, 1) > 0);
mpfr_clear (x);