Skip to content
Tcl Source Code Check-in [5986a2c421]
Login

Check-in [5986a2c421]

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: 5986a2c42150954ab16a9a9ca388db3c6fd2f99f
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