Show the IEEE 754 bit pattern for the following numbers (assume excess 127):
a. 1.2901318359375x10^2
b. 5.517578125x10^-2
a) Binary representation of 129.01318359375 = 10000001.00000011011 = 1.000000100000011011 * 2^7
Biased exponent = 127+7= 134 = 10000110, signed bit = 0 (because positive)
IEEE 754 representation (excess 127):
0 10000110 00000010000001101100000
b)Binary representation of 0.05517578125 = 0.00001110001 = 1.110001 * 2^-5
Biased exponent = 127+(-5) = 122 = 1111010, signed bit = 0(because positive)
IEEE 754 representation (excess 127):
0 01111010 11000100000000000000000
Get Answers For Free
Most questions answered within 1 hours.