nan

Tag

Cards List
#nan

two case studies of NaN

Lobsters Hottest · 2026-07-09 Cached

This article explores two unexpected behaviors of NaN in Python and Lua, where implicit assumptions about equality and comparison lead to surprising results like Python's list equality ignoring NaN's self-inequality and Lua's for-loops mishandling NaN as step or limit.

0 favorites 0 likes
← Back to home

Submit Feedback