Header
TOPIC DETAILS
AUTHOR

No. Representation On Bits No. System....

Under 8 Bits Representation Of Numbers Why Is The Minimum Number's Value Equal To -128 ,not -127? 1st Bit Considered For Sign Min. No. Should Be 11111111 ,so -127 But It's -128 Why?

Vishal Kumar

>> -128 is minimum number for 2's complement representation and -128 = 10000000(2's complement) in binary not 11111111. To convert 2's complement to binary first flip all the digits then add 1 to it and then convert to decimal.