math.erfcinv() function

The math.erfcinv() function returns the inverse of math.erfc().

Output data type: Float

import "math"

math.erfcinv(x: 0.42345)

// Returns 0.5660037715858239



The value used in the operation. x should be greater than 0 and less than 2. Otherwise, the operation will return NaN.

Special cases

math.erfcinv(x: 0)   // Returns +Inf
math.erfcinv(x: 2)   // Returns -Inf
math.erfcinv(x: <0)  // Returns NaN
math.erfcinv(x: >2)  // Returns NaN
math.erfcinv(x: NaN) // Returns NaN

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.