summaryrefslogtreecommitdiff
path: root/tests/random2.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/random2.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/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 1e38e2b20..6b813afba 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, GMP_LIMB_BITS);
+ mpfr_rand_raw (&elimb, RANDS, GMP_NUMB_BITS);
exp = ABS (exp);
MPFR_SET_EXP (x, elimb % (2 * exp + 1) - exp);