itoa'd you so?
Bryan Sant
bryan.sant at gmail.com
Fri Sep 21 16:10:53 MDT 2007
On 9/21/07, Levi Pearson <levi at cold.org> wrote:
> The answer lies in 2's complement binary representation of integers.
> There aren't the same number of integers to the left and to the right
> of 0; there's one more to the left. So, the absolute value of the
> smallest representable integer isn't representable in the same number
> of bits.
Crap. I was about to sound smart mentioning the 2's complement issue
-- albeit not as well as you did.
More fun info about it here:
http://en.wikipedia.org/wiki/Two%27s_complement#The_weird_number
-Bryan
More information about the PLUG
mailing list