unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

ERF(3M)                                                                ERF(3M)



NAME
       erf, erfc - error functions

SYNOPSIS
       #include <&lt;math.h>&gt;

       double erf(x)
       double x;

       double erfc(x)
       double x;

DESCRIPTION
       erf(x) returns the error function of x; where

       erf(x)=2/sqrt(pi)*integralfrom0toxofexp(-t*t)dt.

       erfc(x)  returns  1.0-erf(x),  computed  however  by other methods that
       avoid cancellation for large x.



4.3 Berkeley Distribution       20 October 1987                        ERF(3M)