math.mInf() function

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

This documentation is open source. See a typo? Please, open an issue.

Need help getting up and running? Get Support