summaryrefslogtreecommitdiff
path: root/tests/tcmp_ui.c
diff options
context:
space:
mode:
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 105e87d4c..d5c3ee7be 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, BITS_PER_MP_LIMB - 1, MPFR_RNDZ);
- /* now EXP(x)=BITS_PER_MP_LIMB */
+ mpfr_mul_2exp (x, x, GMP_LIMB_BITS - 1, MPFR_RNDZ);
+ /* now EXP(x)=GMP_LIMB_BITS */
MPFR_ASSERTN(mpfr_cmp_si (x, 1) > 0);
mpfr_clear (x);