summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.decls
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2010-11-28 23:20:10 (GMT)
committerKevin B Kenny <kennykb@acm.org>2010-11-28 23:20:10 (GMT)
commita5a72404b019601daeadb7184189dd40ef6ac90c (patch)
tree87833950b8671a111d7d2e3d6ba8194c7359cb36 /generic/tclTomMath.decls
parentabe7eadae6ebae4c2827f9314f7d81af9dfff916 (diff)
downloadtcl-a5a72404b019601daeadb7184189dd40ef6ac90c.zip
tcl-a5a72404b019601daeadb7184189dd40ef6ac90c.tar.gz
tcl-a5a72404b019601daeadb7184189dd40ef6ac90c.tar.bz2
2010-11-29 Kevin B. Kenny <kennykb@acm.org>
* generic/tclInt.decls: * generic/tclInt.h: * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them.
Diffstat (limited to 'generic/tclTomMath.decls')
-rw-r--r--generic/tclTomMath.decls8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclTomMath.decls b/generic/tclTomMath.decls
index 12fa7cd..0bd5ca5 100644
--- a/generic/tclTomMath.decls
+++ b/generic/tclTomMath.decls
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tclTomMath.decls,v 1.8 2010/09/15 07:33:54 nijtmans Exp $
+# RCS: @(#) $Id: tclTomMath.decls,v 1.9 2010/11/28 23:20:11 kennykb Exp $
library tcl
@@ -214,3 +214,9 @@ declare 59 {
declare 60 {
int TclBN_s_mp_sub(mp_int *a, mp_int *b, mp_int *c)
}
+declare 61 {
+ int TclBN_mp_init_set_int(mp_int* a, unsigned long i)
+}
+declare 62 {
+ int TclBN_mp_set_int(mp_int* a, unsigned long i)
+} \ No newline at end of file