$ python
Python 3.14.4 (main, Aug 20 2026, 10:41:58) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> type(float('nan'))
<class 'float'>
- 0 Posts
- 6 Comments
Joined 2 years ago
Cake day: July 2nd, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
arty@feddit.orgto
Programmer Humor@programming.dev•this is the start of everything falling apart, i can feel itEnglish
1·25 days agoI only objected to the use of “only” in the comment above. I’d like to object to “never” as well.
arty@feddit.orgto
Programmer Humor@programming.dev•this is the start of everything falling apart, i can feel itEnglish
2·25 days agoI am a big fan of ISO8601, and I only objected to your use of “only” in the comment above.
arty@feddit.orgto
Programmer Humor@programming.dev•this is the start of everything falling apart, i can feel itEnglish
2·25 days ago…or your file manager is smart enough to do numeric sorting
arty@feddit.orgto
Programmer Humor@programming.dev•this is the start of everything falling apart, i can feel itEnglish
24·25 days agoPeople slowly learned to use their keyboards for proper typography?
But the OP complains specifically about
typeof NaN, and not aboutMath.sqrt(-1) // NaNI know this doesn’t count as “normal use”, but in Python you get it e.g. via
math.inf * 0.