StreakPeaked· Practice

ExamsGATETechnical

The decimal value 0.5 in IEEE single precision floating point representation has

  1. fraction bits of 000...000 and exponent value of 0
  2. fraction bits of 000...000 and exponent value of -1
  3. fraction bits of 100...000 and exponent value of 0
  4. no exact representation

Correct answer: fraction bits of 000...000 and exponent value of -1

Solution

In IEEE single precision, the value 0.5 is represented with a fraction (mantissa) of all zeros, as it is exactly 1/2, and an exponent of -1, which indicates the position of the binary point. This representation aligns with the format where the exponent is adjusted to reflect the normalized form of the number.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →