this post was submitted on 17 May 2025
501 points (97.9% liked)

Programmer Humor

23433 readers
949 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Remavas@programming.dev 1 points 2 days ago* (last edited 2 days ago)

That's not a type. A NaN is a floating point number (of type float). I used numpy because that's the easiest way to get a NaN.

This is part of the floating point standard.

This was never about None, which is a completely different thing.