Say I had a 6 digit hexadecimal signed in two's complement. What would be its range?
-(16 ^ 5) < x < (16 ^ 5)
Correct?
Say I had a 6 digit hexadecimal signed in two's complement. What would be its range?
-(16 ^ 5) < x < (16 ^ 5)
Correct?
This sounds like homework. If so, please tag your question as such.
One way to think about this:
Think hard about the answer to the last question.
For example, the smallest signed 32-bit int is -2147483648. The largest signed 32-bit int is 2147483647.