diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-01-08 19:13:48 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-01-08 19:13:48 +0000 |
commit | 1f7f06d17a7f5bacaa40d8cea4237ffe094ef433 (patch) | |
tree | 97fdc324d0ae9640c439df546f625d8a15ad50fe /tests/random2.c | |
parent | 8f36df5d6bf5f20f4c4e60e9ac22e9d4d4a6508e (diff) | |
download | mpfr-1f7f06d17a7f5bacaa40d8cea4237ffe094ef433.tar.gz |
BITS_PER_MP_LIMB -> GMP_LIMB_BITS
got rid of BYTES_PER_MP_LIMB in configure.in (no longer defined by GMP)
Note[VL] (mpfr-impl.h): a mpn_sqr_n() macro is defined to use mpn_mul
if it is not already defined (in gmp-impl.h from GMP 4.x).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6644 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 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); |