# TAOCP 4.2.2 Accuracy of Floating Point Arithmetic

> Week 76 of the cracked.guide path: Knuth 4.2.2 Accuracy of Floating Point Arithmetic.

Week 76 of 145 on cracked.guide, in TAOCP Vol 2: Seminumerical Algorithms: TAOCP 4.2.2 Accuracy of Floating Point Arithmetic. The reading guides budget about 8 hours.

## Key facts {#key-facts}

- [TAOCP 4.2.2 Accuracy of Floating Point Arithmetic](https://cracked.guide/guide/knuth-w059-0): Error analysis for floating point: which algebraic laws survive (commutativity does), which break (associativity, distributivity), and how to reason about the error of a sequence of operations.
- Phase: TAOCP Vol 2: Seminumerical Algorithms, weeks 64 to 89.
- Updated October 20, 2026.

## By the end of this week you can {#objectives}

- Explain which algebraic laws floating addition keeps and which it breaks.
- Recognize catastrophic cancellation when nearly equal values are subtracted.
- Use tolerances scaled to magnitude instead of == to compare floats.

## This week's tasks {#tasks}

- [TAOCP 4.2.2 Accuracy of Floating Point Arithmetic](https://cracked.guide/guide/knuth-w059-0): about 8 hours

Previous: [Week 75](https://cracked.guide/curriculum/week/75) · Next: [Week 77](https://cracked.guide/curriculum/week/77)

---

Source: https://cracked.guide/curriculum/week/76
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
