Andrew Lentvorski wrote:
Ralph Shumaker wrote:
Andrew Lentvorski wrote:
Ralph Shumaker wrote:

Piquing my curiosity, "a small non-negative integer" is "small" up to what? :) IOW, what is the limit?

That's obvious: -127.

Now, why is that obvious?  And why isn't it -128?


I'm sure I may be showing my ignorance, but isn't -127 (and -128) indeed a negative number? Carl said "non-negative".

No, you got it right, and I got it wrong.

Unless the value is actually unsigned. If that is the case, then the number is 255 decimal if represented by only a single byte.

Gus


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to