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

631 B

title description aliases menu weight
math.mInf() function The math.mInf() function returns positive infinity if `sign >= 0`, negative infinity if `sign < 0`.
/influxdb/cloud/reference/flux/functions/math/m_inf/
/influxdb/cloud/reference/flux/stdlib/math/m_inf/
influxdb_cloud_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