5000. A new machine has been developed which will use a 20-bit register. Reals will be stored with a 1‑bit sign and a 6‑bit
exponent. What will be the range for reals? What will
be the range for Integers?
Integers: Given 20-bits: 1-bit for the sign, 19-bits for the value =
-219 to + 219 - 1
=>
-524,288 to +524,287
Reals: Given 1-bit sign, 6-bit exponent, 13-bit
values:
6-bit
sign: Exponent Value = -25
to +25-1
13-bit
value: Range = 213 = 0 to
8,192
ð
3 decimals of precision