Elektrine lite

← Feed

@alsimoneau@lemmy.ca

2026-11-16 21:50 UTC

That never arises in normal use though. I didn’t even know it existed since anything that would yield one raises an exception instead.

Replies (1)

  • @arty@feddit.org 2026-11-16 23:21

    But the OP complains specifically about typeof NaN, and not about Math.sqrt(-1) // NaN I know this doesn’t count as “normal use”, but in Python you get it e.g. via math.inf * 0.

    Open ##5549290