math.mInf() function

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

*Output data type: Float*

  1. import "math"
  2. math.mInf(sign: 1)
  3. // Returns +Inf

Parameters

sign

The sign value used in the operation.

*Data type: Integer*