Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ erfc(3M) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ERF(3M)  —  MATHEMATICAL LIBRARY

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.

Sun Release 4.1  —  Last change: 22 Jul 1994

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