Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.

See Also