NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲If It Floats (blog.coredump.cx)
arcastroe 2 days ago [-]
Reminds me the "Wat" lightning talk I saw a few years ago:

https://www.destroyallsoftware.com/talks/wat

kens 23 hours ago [-]
If you want to know why some of these behaviors exist, see Kahan's "Lecture Notes on the Status of IEEE Standard 754 for Binary Floating-Point Arithmetic".

In particular, the reason that NaN != NaN but infinity == infinity is so there is a way to detect NaN in languages that lack isNaN().

https://web.archive.org/web/20260316121248/https://people.ee...

lifthrasiir 21 hours ago [-]
More about language quirks around NaN except for the first few.
dmitrygr 2 days ago [-]
Glorious and very well written.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 01:00:50 GMT+0000 (UTC) with Wasmer Edge.