Skip to content
Tcl Source Code History Of Ticket 1341368fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1341368fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1341368fffffffffffffffffffffffffffffffff

  1. Ticket change [f46b77c647] (rid 129911) by dgp on 2005-10-29 06:43:44:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      ==== expr-46.13 round() boundary case - largest int FAILED
      ==== Contents of test case:
      
          set imax [expr {((1<<31) + 1) * -1}]
          expr {round($imax - 0.51)}
      
      ---- Result was:
      -2147483650
      ---- Result should have been (exact matching):
      2147483646
      ==== expr-46.13 FAILED
      
      
      ==== expr-46.14 round() boundary case - largest int FAILED
      ==== Contents of test case:
      
          set imax [expr {((1<<31) + 1) * -1}]
          expr {round($imax - 0.50)}
      
      ---- Result was:
      -2147483650
      ---- Result should have been (exact matching):
      2147483647
      ==== expr-46.14 FAILED
      
      ==== expr-46.15 round() boundary case - becomes wide
      int FAILED
      ==== Contents of test case:
      
          set imax [expr {((1<<31) + 1) * -1}]
          expr {round($imax + 0.50)}
      
      ---- Result was:
      -2147483649
      ---- Result should have been (exact matching):
      2147483648
      ==== expr-46.15 FAILED
      
      
      ==== expr-46.16 round() boundary case - smallest int FAILED
      ==== Contents of test case:
      
          set imin [expr {1<<31}]
          expr {round($imin + 0.51)}
      
      ---- Result was:
      2147483649
      ---- Result should have been (exact matching):
      -2147483647
      ==== expr-46.16 FAILED
      
      ==== expr-46.17 round() boundary case - smallest int FAILED
      ==== Contents of test case:
      
          set imin [expr {1<<31}]
          expr {round($imin + 0.50)}
      
      ---- Result was:
      2147483649
      ---- Result should have been (exact matching):
      -2147483648
      ==== expr-46.17 FAILED
      
      
      ==== expr-46.18 round() boundary case - becomes wide
      int FAILED
      ==== Contents of test case:
      
          set imin [expr {1<<31}]
          expr {round($imin - 0.50)}
      
      ---- Result was:
      2147483648
      ---- Result should have been (exact matching):
      -2147483649
      ==== expr-46.18 FAILED
      
      
      
      
      Perhaps it's just missing test constraints;
      the tests appear suitable only for systems
      on which the C long type is 32-bit.
      
      Still the point of the tests elude me.
      Just more stuff that's changing in 8.5,
      right?  If we haven't tested it before,
      why start now?
      
      
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "expr-46.13-18 fail on 64-bit systems"
    11. type initialized to: "Bug"
  2. Ticket change [5e910d440d] (rid 115658) by mdejong on 2005-10-30 03:00:03:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      Fixed problem by adding 32bit vs 64 bit logic. As far as the
      8.5 bit, it needs to behave like the expr impl in 8.4 for
      numbers
      that fit inside longs anyway.
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
    6. username: "mdejong"
  3. Ticket change [096e6ea370] (rid 113650) by mdejong on 2005-10-30 03:00:04:

    1. closedate changed to: "2005-10-29T20:00:04"
    2. closer changed to: "mdejong"
  4. Ticket change [8b9d6b2971] (rid 127597) by dgp on 2005-11-01 00:10:52:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Now instead of failing, the tests
      throw the error "integer value
      too large to represent".
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Remind"
    5. status changed to: "Open"
    6. username: "dgp"
  5. Ticket change [cca1d30854] (rid 95734) by dgp on 2005-11-09 03:22:23:

    1. assignee changed to: "dgp"
    2. resolution changed to: "Fixed"
    3. status changed to: "Closed"
  6. Ticket change [11ee93ce16] (rid 95227) by dgp on 2005-11-09 03:22:24:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      portable version of these tests
      committed to both branches.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [4586de3e8d] (rid 99367) by dgp on 2005-11-09 03:22:25:

    1. closedate changed to: "2005-11-08T20:22:25"
    2. closer changed to: "dgp"