Skip to content
Tcl Source Code History Of Ticket 0aa8f12dcc
Login

History Of Ticket 0aa8f12dcc

Artifacts Associated With Ticket 0aa8f12dcc

  1. Ticket change [a103551af3] (rid 133267) by dgp on 2013-08-13 18:44:04:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized 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.
      
    5. foundin initialized to: "novem"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Severe"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "48. Number Handling"
    14. title initialized to: "mathop tests broken on novem"
    15. type initialized to: "Bug"
  2. Ticket change [1795c8b026] (rid 133268) by dgp on 2013-08-13 18:44:38:

    1. assignee changed to: "jan.nijtmans"
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
  3. Ticket change [f3deeb5b62] (rid 133272) by dgp on 2013-08-13 19:28:05:

    1. icomment:
      I committed to novem branch the minimum code
      restoration needed to make the failing tests
      pass again.
      
      Leaving the ticket open in case other aspects
      of that checkin need some review for errors
      that might not be covered in the test suite.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [30811cacaa] (rid 133302) by jan.nijtmans on 2013-08-14 14:15:16:

    1. closedate changed to: "2456519.09393801"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Hm, I don't remember committing that, but I remember experimenting with this in the novem branch. Apparently when I did the "merge trunk" I still had local changes in my environment which I forgot about, that's bad.
      
      Should be restored now in full, this was not intended to be committed at all!
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"