Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Then, perform floating point operations only on top of that, as a last step.

Right. "Once you go float, you never go back."

Any time you need discrete operations like counting and equality, do it in integer space. Avoid going from integer space back to floating point space.



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

Search: