Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scotty79
89 days ago
|
parent
|
context
|
favorite
| on:
It's OK to compare floating-points for equality
Author says in the article that for tests, and assertion is a test, it's ok to use epsilon.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: