[Gmp-commit] /var/hg/gmp: Run more test, but use a tad smaller operands.
mercurial at gmplib.org
mercurial at gmplib.org
Thu Oct 25 21:48:34 CEST 2012
details: /var/hg/gmp/rev/b0e810287618
changeset: 15085:b0e810287618
user: Torbjorn Granlund <tege at gmplib.org>
date: Thu Oct 25 21:48:31 2012 +0200
description:
Run more test, but use a tad smaller operands.
diffstat:
ChangeLog | 2 ++
tests/mpz/t-remove.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r ce92190c7189 -r b0e810287618 ChangeLog
--- a/ChangeLog Thu Oct 25 21:47:02 2012 +0200
+++ b/ChangeLog Thu Oct 25 21:48:31 2012 +0200
@@ -1,5 +1,7 @@
2012-10-25 Torbjorn Granlund <tege at gmplib.org>
+ * tests/mpz/t-remove.c: Run more test, but use a tad smaller operands.
+
* mpn/generic/remove.c (mpn_bdiv_qr_wrap): New functions.
(mpn_remove): Call mpn_bdiv_qr_wrap.
* mpz/remove.c: Enable suppressed mpn_remove call.
diff -r ce92190c7189 -r b0e810287618 tests/mpz/t-remove.c
--- a/tests/mpz/t-remove.c Thu Oct 25 21:47:02 2012 +0200
+++ b/tests/mpz/t-remove.c Thu Oct 25 21:48:31 2012 +0200
@@ -35,7 +35,7 @@
mpz_t t, dest, refdest, dividend, divisor;
mp_size_t dividend_size, divisor_size;
int i;
- int reps = 100;
+ int reps = 1000;
unsigned long int pwr, refpwr;
gmp_randstate_ptr rands;
mpz_t bs;
@@ -52,7 +52,7 @@
for (i = 0; i < reps; i++)
{
mpz_urandomb (bs, rands, 32);
- size_range = mpz_get_ui (bs) % 18 + 2; /* 0..524288 bit operands */
+ size_range = mpz_get_ui (bs) % 17 + 2; /* 0..524288 bit operands */
do
{
More information about the gmp-commit
mailing list