recategorized by
2,612 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$
recategorized by

2 Answers

Best answer
11 votes
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 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

1 votes
1 votes
1 answer
1
gatecse asked Dec 17, 2017
2,349 views
Which of the following set of components is sufficient to implement any arbitrary Boolean function?$XOR$ gates, $NOT$ gates$AND$ gates, $XOR$ gates and $1$$2$ to $1$ mult...
0 votes
0 votes
1 answer
2
2 votes
2 votes
3 answers
3
gatecse asked Dec 17, 2017
6,873 views
A $32$-$bit$ adder is formed by cascading $4$-$bit$ CLA adder.The gate delays (latency)for getting the sum bits is$16$$18$$17$$19$
3 votes
3 votes
1 answer
4
gatecse asked Dec 17, 2017
1,582 views
Let $M=11111010$ and $N=00001010$ be two $8$-$bit$ two's complement number.Their product in two's complement is$11000100$$10011100$$10100101$$11010101$