保留一位用于确定数字是负数还是正数。
所以对于最大正数值将是
01111111 which gives the int number as 128(leftmost bit 0 represent its a postive number)
64+32+6+8+4+2+1= 127
对于最大负数值将((最左边的位 1 表示它的负数))
10000000 which gives the int number as -128
-128+0+0+0+0+0+0+0 = -128
所以范围从
-127 to 128