math.NaN() 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.NaN() function returns an IEEE 754 “not-a-number” value.

import "math"

math.NaN()

// Returns NaN