summaryrefslogtreecommitdiff
path: root/lib/libm/man/erf.3
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-27 01:07:44 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-27 01:07:44 +0000
commit4f5627528f9bc99c93d4ea01fdefe233f917603c (patch)
tree234f095c22afb5127e58306944c76b3ddd439743 /lib/libm/man/erf.3
parent077831197a41fdd8a68a9f3606a5a183f98f2fe7 (diff)
describe *f in terms of the double precision version (more of this to come... after dinner).
Diffstat (limited to 'lib/libm/man/erf.3')
-rw-r--r--lib/libm/man/erf.313
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libm/man/erf.3 b/lib/libm/man/erf.3
index 5c60a86a86d..19100381d5a 100644
--- a/lib/libm/man/erf.3
+++ b/lib/libm/man/erf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: erf.3,v 1.8 2000/03/02 00:29:49 todd Exp $
+.\" $OpenBSD: erf.3,v 1.9 2003/02/27 01:07:43 jason Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -57,7 +57,12 @@ These functions calculate the error function of
.Pp
The
.Fn erf
-calculates the error function of x; where
+calculates the error function of x, and
+the
+.Fn erff
+function is a single precision version of
+.Fn erf .
+The error function is defined as:
.Bd -filled -offset indent
.if n \{\
erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \}
@@ -78,6 +83,10 @@ from 1.0.
This is useful, since for large
.Fa x
places disappear.
+The
+.Fn erfcf
+function is a single precision version of
+.Fn erfc .
.Sh SEE ALSO
.Xr math 3
.Sh HISTORY