summaryrefslogtreecommitdiff
path: root/tests/random2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/random2.c')
-rw-r--r--tests/random2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/random2.c b/tests/random2.c
index 6997c0a37..1e38e2b20 100644
--- a/tests/random2.c
+++ b/tests/random2.c
@@ -136,7 +136,7 @@ mpfr_random2 (mpfr_ptr x, mp_size_t size, mp_exp_t exp,
}
/* Generate random exponent. */
- mpfr_rand_raw (&elimb, RANDS, BITS_PER_MP_LIMB);
+ mpfr_rand_raw (&elimb, RANDS, GMP_LIMB_BITS);
exp = ABS (exp);
MPFR_SET_EXP (x, elimb % (2 * exp + 1) - exp);