Guide · Student Tools / Physics, Chem & CS
About IEEE-754 Floating-Point Precision Explorer (0.1 + 0.2)
Contrast standard IEEE-754 double-precision float64 addition (`0.1 + 0.2 = 0.30000000000000004`) against exact decimal-scaled integer addition and display residual ULP error.
When to use this tool
Illustrate why financial/currency ledgers store integer cents (`BigInt`/cents) instead of binary floats.
How to use IEEE-754 Floating-Point Precision Explorer (0.1 + 0.2)
- Enter Decimal A and Decimal B (e.g., `0.1` and `0.2`).
- Inspect exact JavaScript `Number(A) + Number(B)` result vs exact base-10 arithmetic and absolute precision error.
Supported inputs, options, and outputs
- Inputs: Two decimal strings.
- Outputs: Float64 binary sum, exact decimal sum, and difference magnitude.
Accuracy notes and limitations
- Exact scaled addition supports standard terminating decimal notation without arbitrary `1000`-digit scientific exponents.
Privacy and browser processing
Physics, chemistry, genetics, statistics, and audio/astronomy calculations execute locally inside your browser tab without uploading data or experiment entries to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Student Tools.