[Gmp-commit] /var/hg/gmp: (MIN_BN): Make more consistent with ASSERT in teste...

mercurial at gmplib.org mercurial at gmplib.org
Thu Feb 2 14:34:43 CET 2012


details:   /var/hg/gmp/rev/06f73698942f
changeset: 14598:06f73698942f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Feb 02 14:18:32 2012 +0100
description:
(MIN_BN): Make more consistent with ASSERT in tested function.

diffstat:

 ChangeLog            |  5 +++++
 tests/mpn/t-toom6h.c |  2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 7fb2a8774242 -r 06f73698942f ChangeLog
--- a/ChangeLog	Wed Feb 01 23:09:23 2012 +0100
+++ b/ChangeLog	Thu Feb 02 14:18:32 2012 +0100
@@ -1,3 +1,8 @@
+2012-02-02  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tests/mpn/t-toom6h.c (MIN_BN): Make more consistent with ASSERT in
+	tested function.
+
 2012-02-01  Torbjorn Granlund  <tege at gmplib.org>
 
 	* tests/mpn/t-mul.c: New file.
diff -r 7fb2a8774242 -r 06f73698942f tests/mpn/t-toom6h.c
--- a/tests/mpn/t-toom6h.c	Wed Feb 01 23:09:23 2012 +0100
+++ b/tests/mpn/t-toom6h.c	Thu Feb 02 14:18:32 2012 +0100
@@ -6,7 +6,7 @@
 /* Smaller sizes not supported; may lead to recursive calls to
    toom22_mul, toom33_mul, or toom44_mul with invalid input size. */
 #define MIN_AN MUL_TOOM6H_MIN
-#define MIN_BN(an) (MAX ((an*3)>>3, 42) )
+#define MIN_BN(an) (MAX ((an*3)>>3, 46))
 
 #define COUNT 1000
 


More information about the gmp-commit mailing list