[Gmp-commit] /var/hg/gmp: (REDC_1_TO_REDC_N_THRESHOLD): Up to 9, for coherenc...

mercurial at gmplib.org mercurial at gmplib.org
Tue May 8 14:48:26 CEST 2012


details:   /var/hg/gmp/rev/9bf744339682
changeset: 14954:9bf744339682
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue May 08 14:48:22 2012 +0200
description:
(REDC_1_TO_REDC_N_THRESHOLD): Up to 9, for coherency with mpn/generic/redc_n.c.

diffstat:

 ChangeLog                  |  5 +++++
 mpn/minithres/gmp-mparam.h |  2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r a162f61e82d5 -r 9bf744339682 ChangeLog
--- a/ChangeLog	Mon May 07 23:51:57 2012 +0200
+++ b/ChangeLog	Tue May 08 14:48:22 2012 +0200
@@ -1,3 +1,8 @@
+2012-05-08  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/minithres/gmp-mparam.h (REDC_1_TO_REDC_N_THRESHOLD): Up to 9, for
+	coherency with ASSERT in mpn/generic/redc_n.c.
+
 2012-05-07 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mpn/minithres/gmp-mparam.h: Updated TOOM6 and FAC_DSC.
diff -r a162f61e82d5 -r 9bf744339682 mpn/minithres/gmp-mparam.h
--- a/mpn/minithres/gmp-mparam.h	Mon May 07 23:51:57 2012 +0200
+++ b/mpn/minithres/gmp-mparam.h	Tue May 08 14:48:22 2012 +0200
@@ -75,7 +75,7 @@
 #define INV_APPR_THRESHOLD                   4
 
 #define BINV_NEWTON_THRESHOLD                6
-#define REDC_1_TO_REDC_N_THRESHOLD           4
+#define REDC_1_TO_REDC_N_THRESHOLD           9
 
 #define MU_DIV_QR_THRESHOLD                  8
 #define MU_DIVAPPR_Q_THRESHOLD               8


More information about the gmp-commit mailing list