Skip to content
Tcl Source Code History Of Ticket 1268430
Login

History Of Ticket 1268430

Artifacts Associated With Ticket 1268430

  1. Ticket change [08373c98ff] (rid 89525) by uring on 2005-08-24 15:10:33:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      
      # use tcl8.5.a3 and evaluate the following
      
      # we all agree: pow(2,50) is not equal to pow(2,52):
      puts [expr pow(2,50) == pow(2,52)] ;# returns 0
      
      # but if everything is a string it may happen
      puts [string equal [expr pow(2,50)] [expr pow(2,52)]]
      ,# returns 1
      
      -----
      
      the trouble seems to come up with power >=52.
      
      each 2^^i is equal to 2^^(i-2), if i >= 52,
      
      - and if the value converted to a string
      - and if tcl_precision == 0
      
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "uring"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "pow(2,50) shouldn't be euqal to pow(2,52)"
    11. type initialized to: "Bug"
  2. Ticket change [b807495be1] (rid 128903) by kennykb on 2005-08-24 22:21:33:

    1. closedate changed to: "2005-08-24T15:21:33"
    2. closer changed to: "kennykb"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"