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

An OpenAI model has disproved a central conjecture in discrete geometry
tedsanders · Hacker News · 20h ago
GitHub confirms breach of 3,800 repos via malicious VSCode extension
Timofeibu · Hacker News · 1d ago
Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDK
shideneyu · Hacker News · 6h ago
Incident Report: May 19, 2026 – GCP Account Suspension
0xedb · Hacker News · 1d ago
Not alive, but not dead: disembodied human brains used for drug testing
Timofeibu · Hacker News · 19h ago