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.

Data type: Float

Special cases

math.erfc(+Inf) // Returns 0
math.erfc(-Inf) // Returns 2
math.erfc(NaN)  // Returns NaN

This documentation is open source. See a typo? Please, open an issue.

Need help getting up and running? Get Support