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

2024

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

  1. A.

    fraction bits of 000....000 and exponent value of 0.

  2. B.

    fraction bits of 000....000 and exponent value of -1.

  3. C.

    fraction bits of 100....000 and exponent value of 0.

  4. D.

    no exact representation.

Attempted by 36 students.

Show answer & explanation

Correct answer: B

The decimal value 0.5 in IEEE single precision floating point representation has a sign bit of 0, an exponent field representing -1 (biased to 126), and a fraction field of all zeros.

Explore the full course: Niacl Ao It Specialist