[Gmp-commit] /var/hg/gmp: New threshold HGCD_APPR_THRESHOLD.
mercurial at gmplib.org
mercurial at gmplib.org
Mon Oct 10 21:18:21 CEST 2011
details: /var/hg/gmp/rev/124ff06551b5
changeset: 14299:124ff06551b5
user: Niels M?ller <nisse at lysator.liu.se>
date: Mon Oct 10 21:18:05 2011 +0200
description:
New threshold HGCD_APPR_THRESHOLD.
diffstat:
ChangeLog | 2 ++
gmp-impl.h | 4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)
diffs (26 lines):
diff -r 74dd752b960d -r 124ff06551b5 ChangeLog
--- a/ChangeLog Mon Oct 10 17:06:37 2011 +0200
+++ b/ChangeLog Mon Oct 10 21:18:05 2011 +0200
@@ -5,6 +5,8 @@
2011-10-10 Niels Möller <nisse at lysator.liu.se>
+ * gmp-impl.h: (HGCD_APPR_THRESHOLD): New threshold.
+
* mpn/generic/hgcd_appr.c (mpn_hgcd_appr): Interface change.
Destroy inputs, let caller make working copies if needed.
(mpn_hgcd_appr_itch): Reduced scratch need.
diff -r 74dd752b960d -r 124ff06551b5 gmp-impl.h
--- a/gmp-impl.h Mon Oct 10 17:06:37 2011 +0200
+++ b/gmp-impl.h Mon Oct 10 21:18:05 2011 +0200
@@ -4057,6 +4057,10 @@
#define HGCD_THRESHOLD 400
#endif
+#ifndef HGCD_APPR_THRESHOLD
+#define HGCD_APPR_THRESHOLD 300
+#endif
+
#ifndef GCD_DC_THRESHOLD
#define GCD_DC_THRESHOLD 1000
#endif
More information about the gmp-commit
mailing list