math.mInf() function

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

The math.mInf() function returns positive infinity if sign >= 0, negative infinity if sign < 0.

Output data type: Float

import "math"

math.mInf(sign: 1)

// Returns +Inf



The sign value used in the operation.

Data type: Integer