


      ERF(3M)			  (UNIX	5.0)			ERF(3M)



      NAME
	   erf,	erfc - error function and complementary	error function

      SYNTAX
	   #include <math.h>

	   double erf (x)
	   double x;

	   double erfc (x)
	   double x;

      DESCRIPTION
							   ___x	-t2
	   Erf returns the error function of x,	defined	as   _^e   dt.
							   \|J0
	   Erfc, which returns 1.0 - erf(x), is	provided because of the
	   extreme loss	of relative accuracy if	erf(x) is called for
	   large x and the result subtracted from 1.0 (e.g. for	x = 5,
	   12 places are lost).

      SEE ALSO
	   exp(3M).
































      Page 1					     (73 A2 02MTA REV1)



