Question

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

Sign bit: 1 bit, Exponent: 8 bits, Mantissa: 23 bits.

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

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2021 answer key

Solution

Apply IEEE 754 single-precision format specifications for normalized floating-point numbers.

In IEEE 754 single-precision (32-bit) floating-point format:

  • Sign bit (SS): 1 bit
  • Exponent field (EE): 8 bits, biased with bias = 127
  • Fraction/Mantissa (MM): 23 bits

An exponent field of 00000000 (E=0E = 0) is reserved for zero and subnormal (denormalized) numbers. An exponent field of 11111111 (E=255E = 255) is reserved for infinities and NaN.

For a normalized number, the exponent field ranges from E=1E = 1 (00000001) to E=254E = 254 (11111110). The smallest exponent for a normalized number is therefore E=1E = 1 (00000001), which corresponds to an unbiased exponent of 1−127=−1261 - 127 = -126.

The value of a positive normalized number is (1.M)×2E−127(1.M) \times 2^{E - 127}. To minimize this positive value, the mantissa bits must all be 0 (00000000000000000000000), yielding (1.0)2×2−126=2−126(1.0)_2 \times 2^{-126} = 2^{-126}.

Final answer

C

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
Question
14 of 65, printed as CS Q.4
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.