summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.decls
diff options
context:
space:
mode:
authorandreas_kupries <andreas_kupries@noemail.net>2010-11-30 20:59:27 (GMT)
committerandreas_kupries <andreas_kupries@noemail.net>2010-11-30 20:59:27 (GMT)
commit80c48dec26fcf255d9b1ad6140911b40f71726e2 (patch)
tree1690548d2a2cd82215101f59ba6632c4b01cc523 /generic/tclTomMath.decls
parent9fef6968a9971c094e0945448a9589f4e796e938 (diff)
downloadtcl-80c48dec26fcf255d9b1ad6140911b40f71726e2.zip
tcl-80c48dec26fcf255d9b1ad6140911b40f71726e2.tar.gz
tcl-80c48dec26fcf255d9b1ad6140911b40f71726e2.tar.bz2
* generic/tclInt.decls: Backport of Kevin B. Kenny's work on
* generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs. * 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. * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h: Regenerated. FossilOrigin-Name: 769801ace1040dc40a1bcbc3f02ea15b8258c8fb
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 53ac10b..bcb340d 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.3.2.1 2010/02/07 22:16:54 nijtmans Exp $
+# RCS: @(#) $Id: tclTomMath.decls,v 1.3.2.2 2010/11/30 20:59:28 andreas_kupries Exp $
library tcl
@@ -213,3 +213,9 @@ declare 59 generic {
declare 60 generic {
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)
+}