(-128, 127) because (-1/2(2^n), 1/2(2^n)-1 )
Chat with our AI personalities
range iS given by -{2^(k-1) - 1 } to +{2^(k-1)-1} So putting k=7 range i from -63 to +63
Assuming the popular 2's complement is used, the range is from -24 to +24 - 1.
Using 4 bits the signed range of numbers is -8 to 7. When working with signed numbers one bit is the sign bit, thus with 4 bits this leaves 3 bits for the value. With 3 bits there are 8 possible values, which when using 2s complement have ranges: for non-negative numbers these are 0 to 7; for negative numbers these are -1 to -8. Thus the range for signed 4 bit numbers is -8 to 7.
A signed 16 bit number can represent the decimal numbers -32768 to 32767.
Plus or minus 65,535