Const
NaN (not-a-number). By design, NaNs are never equal to each other, thus math.nan != math.nan. The math.isnan function can be used to determine if a value is NaN.
math.nan != math.nan
math.isnan
NaN (not-a-number). By design, NaNs are never equal to each other, thus
math.nan != math.nan. Themath.isnanfunction can be used to determine if a value is NaN.