math.mInf() 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.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

Parameters

sign

The sign value used in the operation.

Data type: Integer