math.NaN() function

The math.NaN() function returns an IEEE 754 “not-a-number” value.

  1. import "math"
  2. math.NaN()
  3. // Returns NaN