Subtopic 5 of 9
4.5IEEE 754 double
The idea
Double precision is the same idea with more room: 1 sign, 11 exponent bits (bias 1023), 52 fraction bits.
Think of it like this: Same recipe, bigger measuring cup.
Why it exists
More fraction bits mean more digits of precision (about 16 decimal digits) and more exponent bits mean a bigger range.
How it works
- Value = (−1)s × 1.f × 2e−1023.
- Total 64 bits.
- Only the field widths and the bias change from single precision.
Worked example: 1.0 in double
Exponent 0 + 1023 = 1023 = 01111111111, fraction all zeros → 0x3FF0000000000000.
Now play with it
- →Click the preset buttons and compare with the single-precision version.
0011111111110000000000000000000000000000000000000000000000000000
ClassNormal
Hex0x3FF0000000000000
Stored exponent1023
Unbiased (E − 1023)0
Significand1.000000000000…
Value1
Type a decimal, or hex like 0x40490FDB. Colours: sign, exponent, fraction.
Check yourself
What is the stored exponent field of 1.0 in IEEE double precision?
Remember: Single: 8 bits / bias 127 / 23 fraction. Double: 11 / 1023 / 52.
Exam notes (the dense version)
1 | 11 (bias 1023) | 52. Normal: (−1)s × 1.f × 2e−1023.
Previous year questions: Number Representation & Computer Arithmetic (19)
PYQs are grouped by topic, so this is the full set for Number Representation & Computer Arithmetic; try the ones that match this subtopic. Open all 19 on the topic page.