docs-v2/content/v2.0/reference/flux/functions/math/m_inf.md

508 B

title description menu weight
math.m_inf() function The math.m_inf() function returns positive infinity if `sign >= 0`, negative infinity if `sign < 0`.
v2_0_ref
name parent
math.m_inf Math
301

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