632 views

1 Answer

1 1 vote

Answer : $-2.0$

Hex : C0000000

Binary value :

1100 0000 0000 0000 0000 0000 0000 0000

Floating point representation :

Sign Bit + Exponent + Mantissa $= 1 + 8 + 23 = 32$ bits

1 10000000 00000000000000000000000

In IEEE-754 Floating point representation 

  • Exponent is biased (real exp+127)
  • Mantissa is normalized ( 1st bit is 1 and is not written)
  • Sign bit 0 : Number is +ve; Sign bit 1 : Number is -ve

now,

Exponent with bias $= 1000\space0000 =128$

Real exponent $\rightarrow E =  128-127 = 1$

Mantissa normalized $= 0000\space0000\space0000\space0000\space0000\space000$

Real mantissa  $\rightarrow M = 1.0000\space0000\space0000\space0000\space0000\space000$

Actual magnitude $=  M\times 2^E =1\times 2^1 = 2$

and sign bit is $1$ so $-2$

 

• edited by
Position:
Show:

Related questions

1 1 vote
0 0 answers
1.2k
1.2k views
rsansiya111 asked Dec 28, 2021
1,159 views
Consider the following statements4 : 16 decoder can be constructed (with enable input). Which of the following statements is/are correct? (MSQ)a. Using four 2 : 4 decoder...
0 0 votes
0 0 answers
787
787 views
rsansiya111 asked Dec 26, 2021
787 views
1 1 vote
1 1 answer
580
580 views
rsansiya111 asked Dec 26, 2021
580 views
2 2 votes
0 0 answers
583
583 views
rsansiya111 asked Dec 26, 2021
583 views