Overview
| Comment: | 2010-11-29 Kevin B. Kenny <[email protected]> * 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
5986a2c42150954ab16a9a9ca388db3c |
| User & Date: | kennykb on 2010-11-28 23:20:10.000 |
| Other Links: | manifest | tags |
References
|
2022-12-22
| ||
| 15:36 | • Ticket [e3dcab1d14] Tcl aborts with wrong digits status still Open with 4 ot... artifact: dbfd97e5d1 user: jan.nijtmans | |
Context
|
2010-11-29
| ||
| 02:27 | added missing casts that MSVC complained about and deleted unused variable check-in: 7c3fff6000 user: kennykb tags: trunk | |
|
2010-11-28
| ||
| 23:20 | 2010-11-29 Kevin B. Kenny <[email protected]> * generic/tclInt.decls: * generic/tclInt.h: * gene... check-in: 5986a2c421 user: kennykb tags: trunk | |
|
2010-11-24
| ||
| 11:56 | * tests/chanio.test, tests/iogt.test, tests/ioTrans.test: Convert more tests to tcltest2 and facto... check-in: 411fe1ce4d user: dkf tags: trunk | |
Changes
Modified ChangeLog
from [ad32d8ef1d]
to [8adf5bf56f].
[diff]
Modified generic/tclInt.decls
from [5024ea390f]
to [7000ec2629].
[diff]
Modified generic/tclInt.h
from [3126c767d8]
to [221542c9e6].
[diff]
Modified generic/tclIntDecls.h
from [c9ad8baf0a]
to [a58c2c874e].
[diff]
Modified generic/tclStrToD.c
from [1c1730c22c]
to [3f61585a20].
[diff]
Modified generic/tclStubInit.c
from [3984d6f8d1]
to [c395aab327].
[diff]
Modified generic/tclTest.c
from [df7d16a85a]
to [e09e359d54].
[diff]
Modified generic/tclTomMath.decls
from [f491dba117]
to [006ba3d209].
[diff]
Modified generic/tclTomMathDecls.h
from [095f842e2a]
to [9b5f9257a7].
[diff]
Modified generic/tclUtil.c
from [1b73fff07f]
to [ee5bc7a6d5].
[diff]
Modified tests/util.test
from [dc963d62c9]
to [7e8d9ee405].
[diff]
Modified unix/Makefile.in
from [d371a5b4ff]
to [d39e5b418b].
[diff]
Modified win/Makefile.in
from [0348a22ac2]
to [95fa7897e3].
[diff]
Modified win/makefile.vc
from [f4e421ad43]
to [e0a98a2c3b].
[diff]