summaryrefslogtreecommitdiffstats
path: root/libtommath/bncore.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2006-12-01 00:31:32 (GMT)
committerKevin B Kenny <kennykb@acm.org>2006-12-01 00:31:32 (GMT)
commite2b2a49eaf9b2b79351be7d294a10704a3e0061d (patch)
treeb91b425009b0142d260faab2301882de49e3f0f3 /libtommath/bncore.c
parent982d09f4d635271e2c515dbe49a9f44d1a42c59a (diff)
downloadtcl-e2b2a49eaf9b2b79351be7d294a10704a3e0061d.zip
tcl-e2b2a49eaf9b2b79351be7d294a10704a3e0061d.tar.gz
tcl-e2b2a49eaf9b2b79351be7d294a10704a3e0061d.tar.bz2
Upgrade to tommath 0.39 plus patches from Tom
Diffstat (limited to 'libtommath/bncore.c')
-rw-r--r--libtommath/bncore.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libtommath/bncore.c b/libtommath/bncore.c
index e53fdee..dcf093e 100644
--- a/libtommath/bncore.c
+++ b/libtommath/bncore.c
@@ -24,7 +24,8 @@
*/
-int KARATSUBA_MUL_CUTOFF = 80, /* Min. number of digits before Karatsuba multiplication is used. */
+int BZ_DIV_CUTOFF = 30, /* Min. number of digits before Burnikel-Ziegler division is used. */
+ KARATSUBA_MUL_CUTOFF = 80, /* Min. number of digits before Karatsuba multiplication is used. */
KARATSUBA_SQR_CUTOFF = 120, /* Min. number of digits before Karatsuba squaring is used. */
TOOM_MUL_CUTOFF = 350, /* no optimal values of these are known yet so set em high */
@@ -32,5 +33,5 @@ int KARATSUBA_MUL_CUTOFF = 80, /* Min. number of digits before Karatsub
#endif
/* $Source: /root/tcl/repos-to-convert/tcl/libtommath/bncore.c,v $ */
-/* $Revision: 1.1.1.4 $ */
-/* $Date: 2006/12/01 00:08:11 $ */
+/* $Revision: 1.2 $ */
+/* $Date: 2006/12/01 00:31:32 $ */