math.erfc() function

The math.erfc() function returns the complementary error function of x.

Output data type: Float

import "math"

math.erfc(x: 22.6)

// Returns 3.7726189138490583e-224



The value used in the operation.

Special cases

math.erfc(+Inf) // Returns 0
math.erfc(-Inf) // Returns 2
math.erfc(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.