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

I have never written a program where you truly need floating point numbers. They are basically only useful for storing unprocessed real world data. I only ever use them for function calls to libm functions and immediately cast back to an integer. It think floats are overused.

A boolean is an integer.



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

Search: