[Contents] [Previous Section] [Next Section] [Index]


erf-Error Functions

Interface

F_TYPE erf (F_TYPE x) 

F_TYPE erfc (F_TYPE x) 

Description

erf() returns the value of the error function where erf(x) equals (2 * sqrt(pi)) times the area under the curve e**(-t**2) between 0 and x.

erfc() returns (1.0-erf(x)). The erfc() function can result in an underflow as x gets large.

Exceptions

None.