edited by
2,690 views
3 votes
3 votes

Consider the following floating point format

31                                        30                                 23                                                                     0 

      S                E                        M             

Bias=31

Assume only 0 are padded while shifting a field

The decimal number 0.15625×2^5 has the following hexadecimal representation without normalization.
A)24 28 00 00
B)24 10 00 00
C)21 28 00 00
D)21 10 00 00

edited by

1 Answer

0 votes
0 votes

decimal number 0.15625×2^5 =5=$101\times 2^{0}$=$1.01\times 2^{2}$

Exponent will be 128+2=130

Mantissa=$010000000000000000000000$

So, 32 bit representation will be

      $0$ $1000010$

 $01000000000000000000000$

Hexadecimal representation will be 21200000

Related questions

0 votes
0 votes
0 answers
2
eyeamgj asked Nov 6, 2018
250 views
https://gateoverflow.in/80201/gate1987-1-viiNOT GETTING ITS ANSWER .......
0 votes
0 votes
1 answer
4