edited by
1,305 views
1 votes
1 votes

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

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

3 Answers

4 votes
4 votes

$0xC00000000 = (11000000000000000000000000000000)_2$

Sign(1bit) Exponent(8bits)  Mantissa(23bits)
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 a single precision number can be obtained as:

$E = e + 127$

$128 = e + 127$

$e = 1$

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

$=-2.0$ 

edited by

Related questions

2 votes
2 votes
2 answers
1
hemantsoni asked May 5, 2016
6,165 views
Which of the given number has its IEEE-754 32-bit floating-point representation as $(0 \ 10000000\ 110 0000 0000 0000 0000 0000)$a) 2.5b) 3.0c) 3.5d) 4.5
0 votes
0 votes
0 answers
2
tusharp asked Dec 3, 2018
829 views
Can someone please help in highlighted part. Thanks