Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

erf(3M)

NAME

erf, erfc − error functions

SYNOPSIS

#include <math.h>

double erf(double x);

double erfc(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. erf(x):= (2/√π)∫0s0xexp (−t2)dt.

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

SunOS 5.1/SPARC  —  Last change: 30 Apr 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026