INTERMEDIATEFrequently Tested 4 min read 25 views
IEEE-754 Floating-Point Standard & 2’s Complement Arithmetic
Exact bit layouts, implicit leading 1, biased exponent, denormalized subnormals, NaN, and range formulas.
IEEE-754 Bit Layout Comparison
| Format | Total Bits | Sign () | Biased Exponent () | Mantissa / Fraction () | Bias () |
|---|---|---|---|---|---|
| Single Precision (float) | bit | bits | bits | ||
| Double Precision (double) | bit | bits | bits |
Special Exponent Encodings (Single Precision)
- : Normalized number
- : Signed Zero ( or )
- : Denormalized number (Note exponent is , NOT !)
- :
- : NaN (Not a Number)
Quick Tip
Quick Hex-to-Float Conversion Example (0xC1580000):
- Binary:
1 | 10000010 | 1011000...0 - (Negative), .
- Mantissa .
- Value .
Interactive 32-Bit IEEE-754 Bit-Field Register Decoder
Digital LogicSign • Exp • Mantissa
32-Bit IEEE-754 Floating-Point Bit-Field Decoder
SIGN (1b)
1
BIASED EXP (8b = 130)
10000010
MANTISSA FRACTION M (23b)
11010000000000000000000
Normalized Float(-1)¹ × (1.1101)₂ × 2^(130 − 127) = −1.8125 × 8 = −14.5
Key Formulas Summary
Normalized IEEE-754 Value
Note: Single precision: Bias = 127; Double precision: Bias = 1023
Denormalized (E = 0, M != 0)
Note: Provides gradual underflow near zero
#Digital Logic#COA#IEEE 754#NAT
Practice Questions on This Chapter (3)
Q1GATE CS Digital LogicMCQEASY
+1M • -0.33
What is the range of signed integers representable in -bit 2’s complement representation?
⚡ Click an option above to verify instantly
Q2GATE CS Digital LogicMCQMEDIUM
+2M • -0.67
In IEEE-754 single-precision (32-bit) floating-point format, how many bits are allocated to [Sign | Biased Exponent | Mantissa Fraction] respectively, and what is the exponent bias?
⚡ Click an option above to verify instantly
Q3GATE CS 2021NATMEDIUM
+2M • 0 Neg
What decimal value is represented by the 32-bit IEEE-754 single-precision hexadecimal word 0xC1680000?