math.isNaN() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.36 is the most recent stable version of Flux.

The math.isNaN() function reports whether f is an IEEE 754 “not-a-number” value.

Output data type: Boolean

import "math"

math.isNaN(f: 12.345)

// Returns false



The value used in the evaluation.

Data type: Float

Special cases