in reply to Integer overflow
Any particular reason you want the wrong answer? I would imagine that you could use whatever Obj-C's equivalent to long long to get 64-bit integers. But if you really want 32-bit integers, and want perl to have the same values, you could probably use pack and unpack to truncate the data and interpret it as a signed 32-bit value. (I can't tell you the details off the top of my head.)
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Integer overflow
by terranullis (Initiate) on Apr 23, 2009 at 23:56 UTC |