Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ erfc(3M) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

math(3M)

ERF(3M)  —  UNIX Programmer’s Manual

名称

erf, erfc  −  誤差関数

形式

#include <math.h>

double erf(x)
double x;

double erfc(x)
double x;

解説

erf(x) は x の誤差関数を返します。 ここで

$erf(x) ~:=~ ( 2 / sqrt { pi } ) ~int from 0 to x ~exp ~(-t sup 2 )~ dt.$ です。

erfc(x) は 1.0−erf(x) を 返します。

erf(x) が大きな x について呼び出される場合には、 相対的な正確さがかなり失われるため、 erfc の項目が提供され、 その結果は 1 から減算された形で返されます (例えば、 x=10 では、 12 桁失われます)。

関連事項

math(3M)

NEWS-OSRelease 3.3

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