Calculates the standard error function of the input variable.
The error function is a special case of the incomplete gamma function. ERRORF is defined as:
It is related to the incomplete gamma function by:
The method used to determine the error function of complex operands is taken from: W. Gautschi, "Efficient computation of the complex error function," Siam Journal of Numerical Analysis, Volume 7, page 187, 1970.