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.