# ERF

Elemental Intrinsic Function (Generic): Returns the error function of an argument.

result = ERF (x)

x | (Input) Must be of type real.

## Results

The result type and kind are the same as x. The result is in the range -1 to 1.

ERF returns the error function of x defined as follows:

Specific Name | Argument Type | Result Type
--- | --- | ---
ERF | REAL(4) | REAL(4)
DERF | REAL(8) | REAL(8)
QERF | REAL(16) | REAL(16)

## Example

ERF (1.0) has the value 0.842700794.

Parent topic: E to F

## See Also

ERFC