math.isNaN() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.50 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

Parameters

f

The value used in the evaluation.

Data type: Float

Special cases