Hacker News new | past | comments | ask | show | jobs | submit login

Floating point is a real trip. They should probably spend more time going over its intricacies in programming courses, because its not going anywhere.

E.g. you should hardly ever test floating point numbers for equality. Instead you usually check if they are "close enough" within an expected precision.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: