Please explain reasoning. Thank you. You have determined tha o.046875 -1.5 2-5 a
ID: 3872177 • Letter: P
Question
Please explain reasoning. Thank you.
You have determined tha o.046875 -1.5 2-5 and you are using the same representation as in your programming assignment (6 bits for exponent, 8 for fraction: bias 31). To generate the binary sequence, you need to determine the exp bit sequence and the fract bit sequence. What should be the value (in decimal) of the exp bit sequence? What should be the value of the fract part? (Give this second answer as a fraction x/y with no extra spaces. There are multiple possible correct answers.) For Blank 2Explanation / Answer
1.5*2-5
1 bit is used for sign bit and it is the MSB
In this case sign bit=1
Next 6 bit are for exponent
Bias for 6 bit= 26-1-1=25-1=+31
Biased Exponent(BE) = Bias + Actual Exponent
BE=31-5
BE=26
BE =011010 (in binary)
Value in exp bit sequence=011010
8 bits are used for mantissa to store fractional part
0.5=1/2=10000000
0's are padded
fract part =10000000