XP is just a number | |
PerlMonks |
Re: comparison of packed signed integersby BrowserUk (Patriarch) |
on Oct 30, 2011 at 11:24 UTC ( [id://934706]=note: print w/replies, xml ) | Need Help?? |
Updated: To reflect the reality check from johngg below. Comparison of packed integer will only work if they are unsigned (or all positive or all negative) and packed in big-endian (Network) order:
Not if they are packed in little-endian (VAX) order:
The same thing for packed signed integers (but only works if the numbers are all positive or all negative):
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|