Floats Don't Agree with Themselves

·Hacker News··

Same code, same input, different answer. A polygon-overlap test passed locally and failed on the server because LLVM folded a multiply-add into FMA on x86 and not on WASM. Here's a 2D geometry library that uses no floats — i64 coordinates, i128 cross products, bit-exact across architectures.

Read full article →

Related Articles

Pi 1.0
sergiotapia · Hacker News · 1d ago
Updates to Full Disk Access in macOS
notfirstpost · Hacker News · 23h ago
The Forgetful CPU (Linux on M4)
signa11 · Hacker News · 1d ago
The Legend of von Neumann (1973) [pdf]
suopspaces · Hacker News · 1d ago
Automatic Transmission – a data-privacy study of connected vehicles
rafaelc · Hacker News · 1d ago