Overview
| Artifact ID: | a103551af32db83c2d81e26ef64ee2ff0ca98d83 |
|---|---|
| Ticket: | 0aa8f12dccff837131987e789d7283909e4b8bf2
mathop tests broken on novem |
| User & Date: | dgp on 2013-08-13 18:44:04 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Sorry I did not catch this sooner; have not been testing the novem branch regularly. Starting with checkin http://core.tcl.tk/tcl/info/19ff9b95e1 two tests are failing on x86_64 linux: ==== mathop-21.3 unary ops, negation FAILED ==== Contents of test case: set res {} lappend res [TestOp - 7.2] lappend res [TestOp - -5] lappend res [TestOp - -2147483648] ;# -2**31 lappend res [TestOp - -9223372036854775808] ;# -2**63 lappend res [TestOp - 354657483923456] ;# wide lappend res [TestOp - 123456789123456789123456789] ;# big set res ---- Result was: -7.2 5 2147483648 {2:(-9223372036854775808 != 9223372036854775808)} -354657483923456 -123456789123456789123456789 ---- Result should have been (exact matching): -7.2 5 2147483648 9223372036854775808 -354657483923456 -123456789123456789123456789 ==== mathop-21.3 FAILED ==== mathop-26.2 misc ops, corner cases FAILED ==== Contents of test case: set res {} lappend res [TestOp - 0 -2147483648] ;# -2**31 lappend res [TestOp - 0 -9223372036854775808] ;# -2**63 lappend res [TestOp / -9223372036854775808 -1] lappend res [TestOp * 2147483648 2] lappend res [TestOp * 9223372036854775808 2] set res ---- Result was: 2147483648 -9223372036854775808 9223372036854775808 4294967296 18446744073709551616 ---- Result should have been (exact matching): 2147483648 9223372036854775808 9223372036854775808 4294967296 18446744073709551616 ==== mathop-26.2 FAILED Novem Tcl no longer knows how to subtract integer values at the LONG_MAX boundary correctly. If I do the merges claimed for that checkin myself, I get working code. Comparing with that checkin, I see that a large number of #ifndef TCL_WIDE_INT_IS_LONG guards and the like have been removed in additon to the merge. Something in that additional change is the cause of the breakage. - foundin changed to: "novem"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "48. Number Handling"
- title changed to: "mathop tests broken on novem"
- type changed to: "Bug"