ERF

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

Syntax

result = ERF (x)

x
(Input) Must be of type real.

Results

The result type is 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)

See Also

ERFC

Example

ERF (1.0) has the value 0.842700794.