in Digital Logic
12,736 views
38 votes
38 votes

In the IEEE floating point representation the hexadecimal value $0\text{x}00000000$ corresponds to

  1. The normalized value $2^{-127}$
  2. The normalized value $2^{-126}$
  3. The normalized value $+0$
  4. The special value $+0$
in Digital Logic
12.7k views

4 Comments

what is the difference between Option A and D
0
0
The prefix ‘0x’ shows it’s a hexadecimal constant, in case anyone is unaware of 0x usage.
7
7

The entire list:

Understanding denormalized numbers in floating point representation -  Computer Science Stack Exchange

1
1
What is SNAN , QNAN
1
1

2 Answers

57 votes
57 votes
Best answer

$$\begin{array}{|c|c|c|}\hline \textbf{S} & \textbf{BE} & \textbf{M} &  \textbf{Value} \\\hline 0/1 & {\color{Magenta} {\text{All 0’s}}} & {\color{Magenta} {\text{All 0’s}}} & 0 \\\hline 0 & {\color{Blue} {\text{All 1’s}}} & {\color{Magenta} {\text{All 0’s}}} & +\infty \\\hline 1 & {\color{Blue} {\text{All 1’s}}} & {\color{Magenta} {\text{All 0’s}}} & -\infty \\\hline 0/1 & {\color{Blue} {\text{All 1’s}}} & \text{Non-zero}& \text{NaN} \\\hline\end{array}$$The answer is option D.

Reference: http://steve.hollasch.net/cgindex/coding/ieeefloat.html

edited by

2 Comments

Sir, what is the difference between option C and option D?
2
2
earlier to IEEE 758 representation, floating numbers couldn't differentiate -0 and +0. So, they come up with IEEE 758 floating poing representation in 32 bit and 64 bit and they marked +0 and -0 representation special that's all I read somewhere, don't know exact history.
1
1
16 votes
16 votes
by

4 Comments

Answer is not A because Exponent and Mantisa both are zero which is equal to special value +0.
0
0
Very Nice and useful link it clears all IEEE Floating Point Representation Doubts.

Thank you Sir!.
1
1
Answer is not A because range of single precision normalized form is $\pm 2^{-126}$ to $\left (2 -2^{(-23)} \right ) \times 2 ^{127}$
0
0
Answer:

Related questions