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

Well, that much is obvious. But if you are going to truncate, you should be consistent. Always truncate towards 0, not sometimes towards 0 and sometimes towards infinity.


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

Search: