Intel® Fortran Compiler 16.0 User and Reference Guide

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 is the same as x. The result is in the range -1 to 1.

ERF returns the error function of x defined as follows:

ERF returns the error function of x

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.

See Also