bsd man page for erf

Query: erf

OS: bsd

Section: 3m

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ERF(3M) 																   ERF(3M)

NAME
erf, erfc - error functions
SYNOPSIS
#include <math.h> 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)*integral from 0 to x of exp(-t*t) dt. Erfc(x) returns 1.0-erf(x). The entry for erfc is provided because of the extreme loss of relative accuracy if erf(x) is called for large x and the result subtracted from 1. (e.g. for x = 10, 12 places are lost).
SEE ALSO
math(3M) 4.3 Berkeley Distribution May 12, 1986 ERF(3M)
Related Man Pages
erff(3) - linux
erfl(3) - linux
erfl(3m) - sunos
erfc(3m) - opensolaris
erfcl(3m) - opensolaris
Similar Topics in the Unix Linux Community
Post Your /proc/cpuinfo here!
What process is writing to disk?
Multi thread awk command for faster performance
A Fun Perfect Square Checker Using Integer Arithmetic Only... ;o)
Posts Converted to Divs - Overflow Works - Now Testing