in reply to Re^8: Why is pack("N",42949672965) giving me 00 00 00 05
in thread Why is pack("N",42949672965) giving me 00 00 00 05
ikegami most probably wants to point out the fact that, with a 'Q' specifier, 0xFFFF_FFFF will give a different result.
While you are certainly right that for "all F's" it is easier to write "one short of overflow", hence "-1", he is certainly right in pointing out that simply going from 0xFFFF_FFFF to 0xFFFF_FFFF_FFFF_FFFF may be an incorrect oversimplification.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Why is pack("N",42949672965) giving me 00 00 00 05
by BrowserUk (Patriarch) on Feb 10, 2015 at 07:54 UTC |