in Digital Logic recategorized by
2,625 views
4 votes
4 votes

In $\text{IEEE}$ floating point representation, the hexadecimal number $\text{0xC0000000}$ corresponds to

  1. $-3.0$
  2. $-1.0$
  3. $-4.0$
  4. $-2.0$
in Digital Logic recategorized by
by
2.6k views

2 Comments

-2.0
1
1
can u explain please?
0
0

2 Answers

11 votes
11 votes
Best answer

  • Sign bit S = 1 ⇒ Negative number
  • Exponent E = 1000 0000  = 128 (in normalized form)
  • Original Exponent = 128-127 =1
  • Fraction is 1.0 B (with an implicit leading 1) = 1
  • The number is -1 × 2^1 = -2 

Answer is D

selected by
by
10 votes
10 votes

Input : 0xC0000000 = 1100 0000 0000 0000 0000 0000 0000 0000

32 bit representation  = 1(sign)     100 0000 0(expoanat)      000 0000 0000 0000 0000 0000 (mantissa)

so number is: where bais = 28-1 -1 = 127

= (-1)s $\times$1.M 2biased expoanant - bais

= (-1)1 $\times$1.0 2128 - 127

= -1.0 $\times$  2

= -2.0

Answer:

Related questions