##
ERRORF

The
ERRORF function returns the value of the error function:

The result is a double-precision if the argument is double-precision. If the argument is floating-point, the result is floating-point. The result always has the same structure as *
X*
. The ERRORF function does not work with complex arguments.

###
Calling Sequence

Result = ERRORF(*
X*
)

###
Arguments

####
X

The expression for which the error function is to be evaluated.

###
Example

To find the error function of 0.4 and print the result, enter:

PRINT, ERRORF(0.4)

IDL prints:

0.428392