Documentation

math.isInf() function

Flux 0.22.0+

The math.isInf() function reports whether f is an infinity, according to sign.

Output data type: Boolean

  • If sign > 0, math.isInf reports whether f is positive infinity.
  • If sign < 0, math.isInf reports whether f is negative infinity.
  • If sign == 0, math.isInf reports whether f is either infinity.
import "math"

math.isInf(f: 2.12, sign: 3)

// Returns false

Parameters

f

The value used in the evaluation.

sign

The sign used in the evaluation.


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.