summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.decls
Commit message (Collapse)AuthorAgeFilesLines
* 'const'ify more libtommath functions. All functions in ↵jan.nijtmans2017-09-151-6/+6
| | | | generic/tclTomMath.decls (used by Tcl) are done now.
* Make mp_get_long and mp_set_long available to tommath-enabled Tcl ↵jan.nijtmans2017-09-131-3/+9
| | | | extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose.
* Many 'const' addtions in libtommath where it makes sense. To be submitted ↵jan.nijtmans2017-09-111-25/+25
| | | | back to the libtommath guys.
* Add some more functions from libtommath for availability within Tcl (mainly ↵jan.nijtmans2017-09-081-2/+9
| | | | the 'long long' variants). Add more 'const' keywords there too.
* Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-181-2/+7
|\ | | | | | | to 1.0
| * (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-161-0/+5
|/ | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
* Fix comments at the top of the *.decls files, which are not correct any more ↵jan.nijtmans2015-11-241-1/+1
|\ | | | | | | for a long long time
| * Fix comments at the top of the *.decls files, which are not correct any more ↵jan.nijtmans2015-11-241-1/+1
| | | | | | | | for a long long time.
* | Expose some of the TclBN operations through the internal API, so clients of ↵dkf2015-10-281-4/+19
| | | | | | | | the bignum code don't need to use tclTomMath.h directly.
* | some formatting (*.decls)jan.nijtmans2012-04-041-3/+3
|\ \ | |/ | | | | remove some unused cygwin-related code some minor gcc warnings
| * some formatting (*.decls)jan.nijtmans2012-04-041-3/+3
| | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
* | Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-021-0/+3
|\ \ | |/
| * Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-021-0/+3
| |
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-3/+1
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| | | | | | more harm than good. Purged them.
| * * generic/tclInt.decls: Backport of Kevin B. Kenny's work onandreas_kupries2010-11-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Backport various formatting (spacing)nijtmans2010-02-071-61/+61
| | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* | 2010-11-29 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2010-11-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | [Patch 3034251] backport ttkGenStubs.tclnijtmans2010-09-151-62/+63
| | | | | | | | | | | | | | | | features to genStubs.tcl. Make the "generic" argument in the *.decls files optional (no change to any tcl*Decls.h files) This allows genStubs.tcl to generate the ttk stub files as well, while keeping full compatibility with existing *.decls files.
* | CONSTify various useful internal functionsnijtmans2010-05-031-10/+10
| | | | | | | | | | (TclBignumToDouble, TclCeil, TclFloor), and related tommath functions.
* | - genStubs.tcl: No longer generate a space after "*" andnijtmans2010-01-291-60/+60
| | | | | | | | | | | | | | | | | | | | immediately after a function name, so the format of function definitions in tcl*Decls.h matches all other tcl*.h header files. - Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc and GetFrameInfoValueProc to be function definitions, not pointers, for consistency with all other Tcl function definitions.
* | Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-3/+3
| | | | | | | | broken since 8.4 and no-one complained about it.
* | just a few const -> CONST (in header files and .decls files)nijtmans2008-07-241-2/+2
|/ | | | and CONST -> const (.c files and internal .h files)
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tcl.decls: use new genstubs 'export' command todas2007-12-101-2/+3
| | | | | | * generic/tclInt.decls: mark exported symbols not in stubs * generic/tclTomMath.decls: table [Tk FR 1716117]; cleanup formatting.
* Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-131-0/+214