docs-v2/content/v2.0/reference/flux/stdlib/math/minf.md

601 B

title description aliases menu weight
math.mInf() function The math.mInf() function returns positive infinity if `sign >= 0`, negative infinity if `sign < 0`.
/v2.0/reference/flux/functions/math/m_inf/
/v2.0/reference/flux/stdlib/math/m_inf/
v2_0_ref
name parent
math.mInf Math
301

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