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

How about using something like NaN instead of 0? To not have a small set of calculations being all 0 and missing from a larger end result (which would go to NaN instead).


Nice!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: