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

And don't do any division.

Easy.




There's nothing wrong with divisions if you exclude problematic combinations of input values.


You're going to have to do some intermediate checks if you want stuff like x/sin(x) to behave.


Or multiplications or additions to avoid overflows or denormals




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: