math.NaN() function

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

Function type signature
() => float

For more information, see Function type signatures.


Return a NaN value

import "math"


Was this page helpful?

Thank you for your feedback!

The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more