|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||||
|
|||||
|
Two's complement explained:
In an unsigned integer byte, the rightmost bit stands is the 1's place, and each successive bit to the left stands for twice the previous bit's place. There are 8 bits in a byte, so the leftmost bit in an unsigned integer byte is the 128's place. In a signed integer byte, everything is the same except for the leftmost bit, which stands for the opposite of what it does in an unsigned integer (-128 instead of 128).
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I'll delete this in a couple of hours. | hixofthehood | Chit-Chat | 9 | 04-02-2003 23:26 |
| couple of questions... | archiver | 2001 | 5 | 23-06-2002 22:48 |
| A couple of problems I observed at the MAR | archiver | 2000 | 3 | 23-06-2002 22:27 |
| Couple other thank yous | Jason Haaga | Thanks and/or Congrats | 0 | 29-04-2002 03:29 |
| A Couple Questions about Chairman's Award | ben_whly | Chairman's Award | 4 | 26-01-2002 18:24 |