lisyarus blog personal blog
It's OK to compare floating-points for equality
NB: The title of this post is an intentional clickbait. Even though I do stand for its statement, a more honest one would be something like: It's NOT OK to compare floating-points using epsilons.
- Points
- 214
- HN comments
- 144
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringMath & Algorithms2026
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 14, 2026 | It's OK to compare floating-points for equality by coinfused | 214 | 144 |