Overview
| Artifact ID: | 4cf3e1a79330d75a2dc382ee914adaf9eeeab086 |
|---|---|
| Ticket: | 1230346fffffffffffffffffffffffffffffffff
Another [string is integer] inconsistency |
| User & Date: | matzek on 2005-06-30 13:19:20 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Maybe related to bug [ 718878 ]. On a 32bit Linux system using Tcl 8.4.9: % set foo 4294967295 4294967295 % string is integer $foo 1 % set foo 4294967296 4294967296 % string is integer $foo 0 % set foo 2147483648 2147483648 % string is integer $foo 1 % set foo 2147483647 2147483647 % string is integer $foo 1 On a 64bit Solaris 5.8 system using a 64bit Tcl 8.4.9: % set foo 4294967295 4294967295 % string is integer $foo 0 % set foo 4294967296 4294967296 % string is integer $foo 0 % set foo 2147483648 2147483648 % string is integer $foo 0 % set foo 2147483647 2147483647 % string is integer $foo 1 So there are different results in the range from 2147483648 (1<<31) up to (and including) 4294967295 ((1<<32)-1). -- Matthias Kraft
- foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "matzek"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "Another [string is integer] inconsistency"
- type changed to: "Bug"