math.isInf() function
The math.isInf()
function reports whether f
is an infinity, according to sign.
Output data type: Boolean
- If
sign > 0
,math.isInf
reports whetherf
is positive infinity. - If
sign < 0
,math.isInf
reports whetherf
is negative infinity. - If
sign == 0
,math.isInf
reports whetherf
is either infinity.
import "math"
math.isInf(f: 2.12, sign: 3)
// Returns false
Parameters
f
The value used in the evaluation.
Data type: Float
sign
The sign used in the evaluation.
Data type: Integer
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.