docs-v2/content/flux/v0.x/stdlib/math/erf.md

705 B

title description aliases menu weight introduced
math.erf() function The math.erf() function returns the error function of `x`.
/influxdb/v2.0/reference/flux/functions/math/erf/
/influxdb/v2.0/reference/flux/stdlib/math/erf/
/influxdb/cloud/reference/flux/stdlib/math/erf/
flux_0_x_ref
name parent
math.erf math
301 0.22.0

The math.erf() function returns the error function of x.

Output data type: Float

import "math"

math.erf(x: 22.6)

// Returns 1.0

Parameters

x

The value used in the operation.

Special cases

math.erf(+Inf) // Returns 1
math.erf(-Inf) // Returns -1
math.erf(NaN)  // Returns NaN