Quote:
Originally Posted by kulangflow
Wouldn't a bunch of 1's be a negative number because of the leading 1? 
|
Not necessarily. Most of the time you deal with positive bits (after all, how can you have -on, off, on?) so you'll have a sets of 4 binary bits to easily represented via Hex. If you have a fifth bit, the most significant bit could be used to represent positive and negative, or just a fifth bit if 16 is not enough. So, 5 bits could be used to represent -16 to 16, or 0 to 31, depending on the application. Either way, the range is the same (32).
Nice try though.