logoalt Hacker News

deepsuntoday at 1:03 PM1 replyview on HN

You forgot about NaNs (all of them), infinities and positive/negative zeros. Tests warranted.


Replies

MaxBarracloughtoday at 5:19 PM

Don't forget the Intel floating-point division bug from the 90s.

https://en.wikipedia.org/wiki/Pentium_FDIV_bug