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

“Beyond the limit”: Satellites and mirrors in space pose threat to the night sky
Breadmaker · Hacker News · 1d ago
GPT-5.5 Codex reasoning-token clustering may be leading to degraded performance
maille · Hacker News · 19h ago
Potential session/cache leakage between workspace instances or consumer accounts
chatmasta · Hacker News · 1d ago
EV Batteries Are Defying Expectations After Miles
apparent · Hacker News · 10h ago
Show HN: KiCad in the Browser
ViktorEE · Hacker News · 5h ago