[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu Apr 26 13:08:29 CEST 2012


details:   /var/hg/gmp/rev/be22f73deef8
changeset: 14893:be22f73deef8
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Apr 26 13:04:54 2012 +0200
description:
tests/mpz/t-jac.c (mpn_jacobi_n): Enlarge tested sizes.

details:   /var/hg/gmp/rev/20cf5542e78e
changeset: 14894:20cf5542e78e
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Apr 26 13:08:24 2012 +0200
description:
ChangeLog

diffstat:

 ChangeLog         |  7 +++++++
 tests/mpz/t-jac.c |  2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r c2ef37aa58ce -r 20cf5542e78e ChangeLog
--- a/ChangeLog	Wed Apr 25 12:54:03 2012 +0200
+++ b/ChangeLog	Thu Apr 26 13:08:24 2012 +0200
@@ -1,3 +1,10 @@
+2012-04-26 Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+	* mpz/bin_uiui.c (bc_bin_uiui): Nail support.
+	* tests/cxx/t-ops2.cc: Test 0/3.
+	* oddfac_1.c: assume n > 26.
+	* tests/mpz/t-jac.c (mpn_jacobi_n): Enlarge tested sizes.
+
 2012-04-24  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/arm/v6/addmul_2.asm: New file.
diff -r c2ef37aa58ce -r 20cf5542e78e tests/mpz/t-jac.c
--- a/tests/mpz/t-jac.c	Wed Apr 25 12:54:03 2012 +0200
+++ b/tests/mpz/t-jac.c	Thu Apr 26 13:08:24 2012 +0200
@@ -685,7 +685,7 @@
   for (i = 0; i < 50; i++)
     {
       mpz_urandomb (bs, rands, 32);
-      size_range = mpz_get_ui (bs) % 10 + 2;
+      size_range = mpz_get_ui (bs) % 10 + i/8 + 2;
 
       mpz_urandomb (bs, rands, size_range);
       an = mpz_get_ui (bs);


More information about the gmp-commit mailing list