Overview
| Artifact ID: | cfef2437df1b459f5584c173d2cfff1c01133b3f |
|---|---|
| Ticket: | 520690ffffffffffffffffffffffffffffffffff
64-bit: [incr] and [expr +] disagree |
| User & Date: | dgp on 2002-02-20 22:29:30 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
On Linux/Alpha, in tclsh8.4a4: % set var [expr 1<<30] 1073741824 % set value [expr 1<<30] 1073741824 % expr {$var + $value} 2147483648 % incr var $value -2147483648 % proc test {} { set var [expr 1<<30] set value [expr 1<<30] puts [expr {$var + $value}] incr var $value puts $var } % test 2147483648 -2147483648 - foundin changed to: "obsolete: 8.4a4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "17. Commands I-L"
- title changed to: "64-bit: [incr] and [expr +] disagree"
- type changed to: "Bug"