docs-v2/content/flux/v0/stdlib/math/nan.md

1.2 KiB

title description menu weight
math.NaN() function `math.NaN()` returns a IEEE 754 "not-a-number" value.
flux_v0_ref
name parent identifier
math.NaN math math/NaN
101

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

Function type signature
() => float

{{% caption %}} For more information, see Function type signatures. {{% /caption %}}

Examples

Return a NaN value

import "math"

math.NaN()