HTBasic Help
×
Menu
Index
Cerf
Complex error function of a complex argument.
 
Loading        LOADSUB ALL FROM "CERF.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                COMPLEX Z,C
C=FNCerf(Z)
 
Description                
FNCerf returns the value of the error function of the complex value z, erf(z). The imaginary part of the value of erf(z) approaches ± if the real part of z is zero and the magnitude of the imaginary part of z becomes large.
 
Errors                
FNCerf causes an HTBasic error if its argument is not of type COMPLEX or if the magnitude of either the real or imaginary component of erf(z) exceeds MAXREAL, the largest number representable.
 
See Also
Cerfc, Erf