• retagged by
3,419 views
5 5 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$

2 Answers

Best answer
11 11 votes

  • 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
10 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:
Position:
Show:

Related questions

12 12 votes
1 answers 1 answer
9.7k
9.7k views
go_editor asked Jun 21, 2016
9,738 views
What is the decimal value of the floating-point number $C1D00000$ (hexadecimal notation)? (Assume $32$-bit, single precision floating point $\text{IEEE}$ representation)$...
1 1 vote
0 0 answers
130
130 views
naveendewangan asked Jul 28
130 views
Let f₃₂ be the number of distinct numbers that can be represented in 4-byte IEEE-style floating point and u₃₂ be the number of distinct numbers that can be represented as...
14 14 votes
2 2 answers
2.8k
2.8k views
gatecse asked Feb 23
2,757 views
Consider the real valued variables $X, Y$ and $Z$ represented using the IEEE $754$ singleprecision floating-point format. The binary representations of $X$ and $Y$ in hex...