docs-v2/content/v2.0/reference/flux/functions/math/erfc.md

575 B

title description menu weight
math.erfc() function The math.erfc() function returns the complementary error function of `x`.
v2_0_ref
name parent
math.erfc Math
301

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

Parameters

x

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