NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Positive / Negative values (Score:3, Insightful)
This seems like the kind of trickery a newbie C hacker would use in the days when they're being too clever by half. Especially something that would have been common in the early 1990s when C was starting to catch on big time in the microcomputing world.
Thankfully, those days don't last very long (or there would be all sorts of other trickery hanging on the boolean nature of the sign bit.) Unfortunately, sometimes those tricks make it into public APIs.
Reply to This