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/tget_z.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/tget_z.c')
-rw-r--r-- | tests/tget_z.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tget_z.c b/tests/tget_z.c index f349f9409..99155d555 100644 --- a/tests/tget_z.c +++ b/tests/tget_z.c @@ -83,7 +83,7 @@ check_one (mpz_ptr z) mpfr_init2 (f, MAX( mpz_sizeinbase (z, 2), MPFR_PREC_MIN) ); mpz_init (got); - for (sh = -2*BITS_PER_MP_LIMB ; sh < 2*BITS_PER_MP_LIMB ; sh++) + for (sh = -2*GMP_LIMB_BITS ; sh < 2*GMP_LIMB_BITS ; sh++) { for (neg = 0; neg <= 1; neg++) { @@ -139,10 +139,10 @@ check (void) mpz_set_si (z, 123L); check_one (z); - mpz_rrandomb (z, RANDS, 2*BITS_PER_MP_LIMB); + mpz_rrandomb (z, RANDS, 2*GMP_LIMB_BITS); check_one (z); - mpz_rrandomb (z, RANDS, 5*BITS_PER_MP_LIMB); + mpz_rrandomb (z, RANDS, 5*GMP_LIMB_BITS); check_one (z); mpz_clear (z); |