Overview
| Artifact ID: | 08373c98ff1c7b63961381c20d0fbaa7fe6af550 |
|---|---|
| Ticket: | 1268430fffffffffffffffffffffffffffffffff
pow(2,50) shouldn't be euqal to pow(2,52) |
| User & Date: | uring on 2005-08-24 15:10:33 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed 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
- foundin changed to: "obsolete: 8.5a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "uring"
- subsystem changed to: "10. Objects"
- title changed to: "pow(2,50) shouldn't be euqal to pow(2,52)"
- type changed to: "Bug"