Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ erf(3m) — Ultrix-11 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exp(3m)

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

The erf function returns the error function of x, defined as 2 over √πx∫0e−t2dt.

The erfc function, 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 (for example, for x = 5, 12 places are lost). 

SEE ALSO

exp(3m)

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