Re: Range of byte in java



On Tue, 20 Jan 2009 21:15:19 -0800 (PST), snehapshinde@xxxxxxxxx
wrote, quoted or indirectly quoted someone who said :

would like to know the logic behind differentiating between
negative and positive numbers and how they are stored in 8-bit form.

see http://mindprod.com/jgloss/twoscomplement.html
--
Roedy Green Canadian Mind Products
http://mindprod.com

We are almost certainly going to miss our [global warming] deadline.
We cannot get the 10 lost years back, and by the time a new global agreement to
replace the Kyoto accord is negotiated and put into effect, there will probably
not be enough time left to stop the warming short of the point where we must not
go. ~ Gwynne Dyer
.



Relevant Pages