The Gateway to Computer Science Excellence

0 votes

In IEEE floationg point representation, the hexadecimal number $0xC0000000$ corresponds to ?

- $-3.0$
- $-1.0$
- $-4.0$
- $-2.0$

+4 votes

$0xC00000000 = 11000000000000000000000000000000_{2}$

Sign(1bit) | Exponent(8bits) | Mantissa(23bits) |

1 | 10000000 | 00000000000000000000000 |

the numerical value of the number is evaluated as $(-1)^{s}*(1.m)*2^{e}$

where, sign (s), a base (b), a mantissa (m), and an exponent (e)

A ** bias** of $(2^{n-1} - 1)$, where

*$E = e + 127$*

$128 = e + 127$

$e = 1$

$(-1)^{1}*(1.00000000000000000000000 )*2^{1}$

$=-2.0$

52,375 questions

60,582 answers

202,000 comments

95,401 users