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

Because there is many ways NaN can be generated, all very different.

== is only defined for numbers, too.

1/0 and 50/0 aren’t the same, for example.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: