Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dathinab
on June 16, 2021
|
parent
|
context
|
favorite
| on:
The most copied StackOverflow snippet of all time ...
This specific example is a good example why you should keep code as simple as possible, and why even "simple" math needs special care when testing (Because floats are not simple.)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: