Overview
| Artifact ID: | 5e8b7ff76b9902adbbe29845149e9eed9719e14e |
|---|---|
| Ticket: | 218512ffffffffffffffffffffffffffffffffff
"format" does not handle floating point numbers consistently |
| User & Date: | nobody on 2000-10-26 01:01:30 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 788 Bug Version: 8.0 SubmitDate: '1998-11-02' LastModified: '1999-09-15' Severity: LOW Status: Released Submitter: stanton ChangedBy: hobbs RelatedBugIDs: 916 OS: All OSVersion: NA Machine: NA FixedDate: '1999-09-15' FixedInVersion: 8.1.1 ClosedDate: '2000-10-25' There are a number of tests in the Tcl test suite that are flagged as "eformat" to indicate that they will fail on Windows under Visual C++ (there are several in format.test). These failures are due to a questionable implementation of sprintf by Microsoft. In particular %g behaves badly if the leading digit is a zero (it displays too many significant digits), and %e %f %g all display too many digits for small exponent values. The only real solution is to have our own implementation of sprintf, but it is hard to write a portable floating point implementation. -- id 916 has a fix for MSVC, but it is not really a problem serious enough to worry about. -- 08/14/1999 hobbs
- foundin changed to: "obsolete: 8.0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
"format" does not handle floating point numbers consistently
- type changed to: "Bug"