Manifest of check-in
[5986a2c421]
- 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.
by
kennykb on
2010-11-28 23:20:10.
B 411fe1ce4db2d5c7fc7aa606a0dd177f3b954f2a
C 2010-11-29\s\sKevin\sB.\sKenny\s\s<[email protected]>\n\n\t*\sgeneric/tclInt.decls:\n\t*\sgeneric/tclInt.h:\n\t*\sgeneric/tclStrToD.c:\n\t*\sgeneric/tclTest.c:\n\t*\sgeneric/tclTomMath.decls:\n\t*\sgeneric/tclUtil.c:\n\t*\stests/util.test:\n\t*\sunix/Makefile.in:\n\t*\swin/Makefile.in:\n\t*\swin/makefile.vc:\sRewrite\sof\sTcl_PrintDouble\sand\sTclDoubleDigits\n\tthat\s(a)\sfixes\sa\ssevere\sperformance\sproblem\swith\sfloating\spoint\n\tshimmering\sreported\sby\sKarl\sLehenbauer,\s(b)\sallows\sTclDoubleDigits\n\tto\sgenerate\sthe\sdigit\sstrings\sfor\s'e'\sand\s'f'\sformat,\sso\sthat\sit\n\tcan\sbe\sused\sfor\stcl_precision\s!=\s0\s(and\spossibly\slater\sfor\s[format]),\n\t(c)\sfixes\s[Bug\s3120139]\sby\smaking\sTclPrintDouble\sinherently\n\tlocale-independent,\s(d)\sadds\stest\scases\sto\sutil.test\sfor\n\tcorrect\srounding\sin\sdifficult\scases\sof\sTclDoubleDigits\swhere\sfixed-\n\tprecision\sresults\sare\srequested.\s(e)\sadds\stest\scases\sto\sutil.test\sfor\n\tthe\scontroversial\saspects\sof\s[Bug\s3105247].\sAs\sa\sside\seffect,\stwo\n\tmore\smodules\sfrom\slibtommath\s(bn_mp_set_int.c\sand\sbn_mp_init_set_int.c)\n\tare\sbrought\sinto\sthe\sbuild,\ssince\sthe\snew\scode\suses\sthem.\n
D 2010-11-28T23:20:10
F ChangeLog 8adf5bf56f5b37af30d09c5aad88488f858a258d
F generic/tclInt.decls 7000ec2629b69172dd97a13e609bfbf9963619af
F generic/tclInt.h 221542c9e6736141ff6db8f812abd47da02df051
F generic/tclIntDecls.h a58c2c874e81b84b1c77c87a55b82dab2fdb8dee
F generic/tclStrToD.c 3f61585a20ef055bf3b2ebb822457e580901184e x
F generic/tclStubInit.c c395aab327b19e3ca971d7d3cc18d5bb29020bec
F generic/tclTest.c e09e359d54232adc0616f5b31e067ed2a110cd02
F generic/tclTomMath.decls 006ba3d2096652c05663d220f6cf7b7251e7b52c
F generic/tclTomMathDecls.h 9b5f9257a70915861e1494c180a9d40d61a3e787
F generic/tclUtil.c ee5bc7a6d5a7a41d6757d690f21558c1ddeeb805
F tests/util.test 7e8d9ee405c5eb7d3bb438f35127ebd8950e7b1b
F unix/Makefile.in d39e5b418bb08068f0da833477180d41c3e290cf
F win/Makefile.in 95fa7897e3f5d73d92ad3a610096bf45e40e4ddb
F win/makefile.vc e0a98a2c3b7c6c96816bce10660946640379f5ae
P 411fe1ce4db2d5c7fc7aa606a0dd177f3b954f2a
U kennykb
Z 52d0c1832d9d71d2b01ed8808c1eeaec