you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago

NaN is a special floating point value. https://en.wikipedia.org/wiki/IEEE_754

It's weird but it makes sense why it was chosen to be this way.

  • source
  • parent