diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-01-08 21:36:26 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-01-08 21:36:26 +0000 |
commit | e77ab9365d2b9771c80e851ddc63dda142613188 (patch) | |
tree | 70f1d98c129b9f3ffda65d5d5b690cbe3e19e836 /tests/random2.c | |
parent | fbc1bcfac594b04268c66729bf4a023910be578a (diff) | |
download | mpfr-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.c | 2 |
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); |