Ages 16–18 · A Level · Foundation
Floating-point precision
Apply data representation to justify a solution to the floating-point precision task.
Understand the idea
Finite representations create tradeoffs in precision fidelity and interoperability.
Your challenge
Why might 0.1+0.2 differ slightly from 0.3 in binary floating point?
- Addition is random
- Decimals are always stored as exact text
- Some decimal fractions lack exact finite binary representations
How to explore
- Identify the inputs, goal or constraint in this data representation situation.
- Work through the stated rule or operation without adding assumptions.
- Check your proposed response against every relevant detail in the question.
Open the activity to work with its controls and check your reasoning. Progress stays in this browser.
Keep exploring
DON’T LET THE QUESTION END HEREGive that curiosity
Open the learning space