[Gmp-commit] /var/hg/gmp: Don't test toom8 out of his range.

mercurial at gmplib.org mercurial at gmplib.org
Wed Apr 18 08:11:27 CEST 2012


details:   /var/hg/gmp/rev/797cb811f90f
changeset: 14850:797cb811f90f
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Wed Apr 18 08:11:24 2012 +0200
description:
Don't test toom8 out of his range.

diffstat:

 tests/mpn/t-toom8-sqr.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r bc9a626a9079 -r 797cb811f90f tests/mpn/t-toom8-sqr.c
--- a/tests/mpn/t-toom8-sqr.c	Wed Apr 18 08:06:56 2012 +0200
+++ b/tests/mpn/t-toom8-sqr.c	Wed Apr 18 08:11:24 2012 +0200
@@ -1,6 +1,6 @@
 #define mpn_toomN_sqr mpn_toom8_sqr
 #define mpn_toomN_sqr_itch mpn_toom8_sqr_itch
 #define MIN_AN MAX(SQR_TOOM3_THRESHOLD,MAX(SQR_TOOM4_THRESHOLD,MAX(SQR_TOOM6_THRESHOLD,MAX(SQR_TOOM8_THRESHOLD,MPN_TOOM8_SQR_MINSIZE))))
-#define MAX_AN (SQR_FFT_THRESHOLD * 2)
+#define MAX_AN SQR_FFT_THRESHOLD
 
 #include "toom-sqr-shared.h"


More information about the gmp-commit mailing list