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

I agree. In my opinion NaNs were a big mistake in the IEEE 754 spec. Not only they introduce a lot of special casing, but also consume a relatively big chunk of all values in 32 bit floats (~0.4%).

I am not saying we do not need NaNs (I would even love to see them in integers, see: https://news.ycombinator.com/item?id=45174074), but I would prefer if we had less of them in floats with clear sorting rules.





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

Search: