retagged by
20,930 views
44 44 votes

The format of the single-precision floating point representation of a real number as per the $\text{IEEE 754}$ standard is as follows:

$$\begin{array}{|c|c|c|} \hline \text{sign} & \text{exponent} & \text{mantissa} \\ \hline \end{array}$$

Which one of the following choices is correct with respect to the smallest normalized positive number represented using the standard?

  1. exponent $=00000000$ and mantissa $=0000000000000000000000000$
  2. exponent $=00000000$ and mantissa $=0000000000000000000000001$
  3. exponent $=00000001$ and mantissa $=0000000000000000000000000$
  4. exponent $=00000001$ and mantissa $=0000000000000000000000001$

5 Answers

Best answer
29 29 votes

In IEEE 754 representation all $1s$ in exponent field is reserved for special numbers

  • $+$ (when sign bit is positive) and $-$ (when sign bit is negative) infinities when all manitssa bits are zeroes.
  • SNAN (Signaling Not A Number): when leading mantissa bit is $0$ and at least one other mantissa bit is non-zero
  • NAN (Quiet NAN): when leading mantissa bit is $1$

More read on QNAN vs SNAN: https://stackoverflow.com/questions/18118408/what-is-the-difference-between-quiet-nan-and-signaling-nan

Also, all $0s$ for exponent field is reserved for denormalized numbers (small numbers between $0$ and $\pm1$ which cannot be represented using normalized numbers). That is, a normalized IEEE 754 represented number (both single and double precision) must have at least one bit set in the exponent field and for the smallest exponent this will be the right most bit. Now, to make it the smallest positive normalized number in single-precision format, we can have all mantissa bits $0$ which will give the numerical value as $1.\underbrace{000\dots0}_{23 \text{ zeroes}} \times 2^{1-127} = 2^{-126}.$ (Here, $1$ before "." is implied in IEEE 754 representation for every normalized numbers and $127$ is the exponent bias used to have negative exponents without an explicit sign bit)

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

selected by
30 30 votes
The answer is c.

In normalized form, you cannot have exponent as all one or all zero. So, to make the smallest number, make exponent one and mantissa equal to 0. So the number would become $1.0 * 2^{1-127}$ = $1.0 * 2^{-126}$
6 6 votes
As per the question, We should know that in normalised it is not possible to have exponents all 0’s So A and B options get eliminated from here. But Mantissa All 1’s is possible so. The answer should be C

 

Answer:- C
Answer:
Position:
Show:

Related questions

30 30 votes
6 answers 6 answers
15.8k
15.8k views
Arjun asked Feb 18, 2021
15,802 views
Consider the following representation of a number in $\text{IEEE 754}$ single-precision floating point format with a bias of $127$.$$S: 1\quad\quad E:\; 10000001\quad\qu...
28 28 votes
6 6 answers
21.9k
21.9k views
Arjun asked Feb 16, 2024
21,949 views
​​The format of a single-precision floating-point number as per the $\text{IEEE 754}$ standard is:$$\begin{array}{|l|l|l|}\hline \textbf{Sign} & \textbf{Exponent} & \tex...
70 70 votes
5 answers 5 answers
32.9k
32.9k views
khushtak asked Feb 14, 2017
32,851 views
Given the following binary number in $32$-bit (single precision) $\text{IEEE-754}$ format : $\large 00111110011011010000000000000000$Th...
45 45 votes
6 6 answers
29.4k
29.4k views
admin asked Feb 15, 2023
29,410 views
Consider the $\textsf{IEEE-754}$ single precision floating point numbers $\text{P} = \textsf{0xC1800000}$ and $\text{Q} = \textsf{0x3F5C2EF4}.$Which one of the following ...