Hacker News new | past | comments | ask | show | jobs | submit login

Fair enough. It makes sense for NaN, but languages like Rust and the various ML variants solve that by defining floating point numbers to not be a type where equality is a valid binary operation.



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

Search: