Ticket UUID: | 1724437 | |||
Title: | mathop cmd results depend on compiler | |||
Type: | Bug | Version: | obsolete: 8.5a7 | |
Submitter: | dgp | Created on: | 2007-05-23 19:11:46 | |
Subsystem: | 47. Bytecode Compiler | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2007-09-09 23:47:44 | |
Resolution: | Fixed | Closed By: | dgp | |
Closed on: | 2007-09-09 16:47:44 | |||
Description: |
% namespace import ::tcl::mathop::+ % + 1e-18 1 -1 1e-18 % [format +] 1e-18 1 -1 0.0 The order of operations of the compiled command differs from that of the direct eval route, leading to differences in roundoff errors. | |||
User Comments: |
dgp added on 2007-09-09 23:47:44:
File Added - 244833: 1724437.patch Logged In: YES user_id=80530 Originator: YES Attached patch that fixes this. Lacks a test demonstrating the issue for the "/" operator. Committing to HEAD. File Added: 1724437.patch |
Attachments:
- 1724437.patch [download] added by dgp on 2007-09-09 23:47:44. [details]