The features described in this topic are obsolete
and should not be used in new IDL code.
ERRORF
This routine is obsolete and should not be used in new IDL code.
The ERRORF function returns the value of the error function:

The result is 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.
Syntax
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:
IDL prints: