Malte Skarupke personal blog
Why Does Integer Addition Approximate Float Multiplication?
Here is a rough approximation of float multiplication (source): float rough_float_multiply(float a, float b) { constexpr uint32_t bias = 0x3f76d000; return bit_cast<float>(bit_cast<uint32_…
- Points
- 182
- HN comments
- 81
- Submissions
- 1
- Cited by
- 0 commenters
Math & AlgorithmsSoftware Engineering2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Feb 9, 2025 | Why Does Integer Addition Approximate Float Multiplication? by ibobev | 182 | 81 |