Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-01-16
02:09 • Closed ticket [3157475fff]: Tcl_PrintDouble formatting error ? plus 7 other ... artifact: e4b7f0c76c user: kennykb
02:09 • Ticket [3157475fff]: 4 changes artifact: 9600f77621 user: kennykb
2011-01-13
17:42 • New ticket [3157475fff]. artifact: cbdeeed3f0 user: andreas_kupries

Tcl_PrintDouble formatting error ?

Closed / Fixed3157475fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2011-01-13 17:42:24
Apparently the Tcl_PrintDouble() can in some situations print superfluous trailing '0's when converting a double value to a string rep.

This is seen in the testsuite of tcllib::math::calculus, when run against Tcl 8.5 or 8.6 branch heads. The 8.4 branch is ok.
kennykbplain2011-01-16 02:09:47
Full 8.4 compatibility restored when tcl_precision != 0.
kennykbplain2011-01-16 02:09:48
allow_comments - 1
Log in (anonymous is fine) to add a comment.