math.m_inf() function

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

Output data type: Float

import "math"

math.m_inf(sign: 1)

// Returns +Inf

Parameters

sign

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