Go to: Synopsis. Return value. MEL examples.

```
erf
float
```

erf is **NOT undoable**, **NOT queryable**, and **NOT editable**.

`(2 / sqrt(pi)) integral{0 to x} of (e ** -t **2) dt.`

This command is implemented using the builtin system functions.

Special Note:

There is also an **erfc** command which returns 1.0 - erf(x),
and is provided because of the extreme loss of relative
accuracy if erf(x) is called for large x and the result
subtracted from 1.0 (e.g., for x = 10, 12 places are lost).

float | Error value |

// Return the error function of 1.0 erf 1.0; // Result: 0.842701 //