Hello Jello, Though it makes for a nice rhyme, your display name doesn't quite fit the famous JavaRanch naming policy. Could you please take a minute to change your display name to show 2 names, preferably your real name. (It's all about maintaining our professional image - don't let the one-eyed moose fool you!). Thanks and hope you'll be visiting the ranch often, Pauline
In fact, the highest bit is a sign bite, only showing sign. For example, for byte, there are 8 bites, but the range is from -2^7 to 2^7-1 2^7 - 1 = 0111 1111 ; If you add 1 more, the highest bite will become 1, which means negative.
Joined: Jan 05, 2003
Joined: Aug 05, 2001
You are welcome!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to represent a negative number by bit?