370 views

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

1. $-3.0$
2. $-1.0$
3. $-4.0$
4. $-2.0$

edited | 370 views

$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)

bias of $(2^{n-1} - 1)$, where n is # of bits used in the exponent, is added to the exponent $(e)$ to get biased exponent $(E)$. So, the biased exponent (E) of single precision number can be obtained as

$E = e + 127$

$128 = e + 127$

$e = 1$

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

$=-2.0$

D) -2