12,688 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$

2 Answers

Best answer
57 votes
57 votes

$$\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
16 votes
16 votes
Answer:

Related questions

29 votes
29 votes
1 answer
1