erf.3m

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3M 代码 · 共 50 行

3M
50
字号
.TH erf 3m RISC.ds nn \fINaN\fR.SH Nameerf, erfc \- error functions.SH Syntax.nf.B #include <math.h>.PP.B double erf(\fIx\fP).B double \fIx\fP;.PP.B double erfc(\fIx\fP).B double \fIx\fP;.fi.SH Description.NXR "erf function".NXR "erfc function"The .PN erf function returns the error function of.I xdefined as follows:.EXerf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \}.EE.PPThe .PN erfcfunction returns 1.0\-erf\|(\fIx\fP)..PPThe entry for the.PN erfc function is provided because of the extreme lossof relative accuracy if erf\|(\fIx\fP) is called for large.I xand the result subtracted from 1.For example if.I x= 10, 12 places are lost..SH Return ValuesThe.PN erfand.PN erfcfunctions return \*(nn when.I xis \*(nn..SH See Alsomath(3m)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?