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
- A.
fraction bits of 000....000 and exponent value of 0.
- B.
fraction bits of 000....000 and exponent value of -1.
- C.
fraction bits of 100....000 and exponent value of 0.
- 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.