[Gmp-commit] /home/hgfiles/gmp: Updated default value for INV_NEWTON_THRESHOL...

mercurial at gmplib.org mercurial at gmplib.org
Thu Dec 17 09:06:20 CET 2009


details:   /home/hgfiles/gmp/rev/654a87b4c936
changeset: 13103:654a87b4c936
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Dec 17 09:06:08 2009 +0100
description:
Updated default value for INV_NEWTON_THRESHOLD (200).

diffstat:

 ChangeLog  |  2 ++
 gmp-impl.h |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 820e9104dd35 -r 654a87b4c936 ChangeLog
--- a/ChangeLog	Thu Dec 17 08:29:20 2009 +0100
+++ b/ChangeLog	Thu Dec 17 09:06:08 2009 +0100
@@ -3,6 +3,8 @@
 	* mpn/generic/invert.c: Added some comment.
 	* mpn/generic/invertappr.c: Slightly better threshold handling.
 
+	* gmp-impl.h (INV_NEWTON_THRESHOLD): Default to 200.
+
 2009-12-17  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/generic/bdiv_q.c (mpn_bdiv_q_itch): Rewrite.
diff -r 820e9104dd35 -r 654a87b4c936 gmp-impl.h
--- a/gmp-impl.h	Thu Dec 17 08:29:20 2009 +0100
+++ b/gmp-impl.h	Thu Dec 17 09:06:08 2009 +0100
@@ -1708,7 +1708,7 @@
 #endif
 
 #ifndef INV_NEWTON_THRESHOLD
-#define INV_NEWTON_THRESHOLD     654
+#define INV_NEWTON_THRESHOLD     200
 #endif
 
 #ifndef BINV_NEWTON_THRESHOLD


More information about the gmp-commit mailing list