Computer Organization & Architecture
Memory Hierarchy & Floating Point
GATE 2012
Medium
The decimal value 0.5 in IEEE single precision floating point representation has
- Afraction bits of 000…000 and exponent value of 0
- fraction bits of 000…000 and exponent value of −1
- Cfraction bits of 100…000 and exponent value of 0
- Dno exact representation
Explanation
0.5 = 1.0 × 2⁻¹ in normalized binary scientific form. The mantissa's fraction part (after the implicit leading 1) is 000…000, and the actual (unbiased) exponent is −1.
Source: GATE CS 2012 (2012)
This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.