summaryrefslogtreecommitdiffstats
path: root/lib/msun/man
diff options
context:
space:
mode:
authorkargl <kargl@FreeBSD.org>2012-07-23 19:13:55 +0000
committerkargl <kargl@FreeBSD.org>2012-07-23 19:13:55 +0000
commitb4194dfd5548262d72f4d521bb5895aa65dff172 (patch)
treed7a34dad173a32ea918010c172031c83f4305093 /lib/msun/man
parent32ec1fa0f59002b046c9dad4e046eb05da10e8cc (diff)
downloadFreeBSD-src-b4194dfd5548262d72f4d521bb5895aa65dff172.zip
FreeBSD-src-b4194dfd5548262d72f4d521bb5895aa65dff172.tar.gz
Compute the exponential of x for Intel 80-bit format and IEEE 128-bit
format. These implementations are based on PTP Tang, "Table-driven implementation of the exponential function in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 15, 144-157 (1989). PR: standards/152415 Submitted by: kargl Reviewed by: bde, das Approved by: das (mentor)
Diffstat (limited to 'lib/msun/man')
-rw-r--r--lib/msun/man/exp.314
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/msun/man/exp.3 b/lib/msun/man/exp.3
index b051e5b..5907337 100644
--- a/lib/msun/man/exp.3
+++ b/lib/msun/man/exp.3
@@ -28,13 +28,14 @@
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
.\" $FreeBSD$
.\"
-.Dd January 17, 2008
+.Dd July 10, 2012
.Dt EXP 3
.Os
.Sh NAME
.Nm exp ,
.Nm expf ,
-.\" The sorting error is intentional. exp and expf should be adjacent.
+.Nm expl ,
+.\" The sorting error is intentional. exp, expf, and expl should be adjacent.
.Nm exp2 ,
.Nm exp2f ,
.Nm exp2l ,
@@ -51,6 +52,8 @@
.Fn exp "double x"
.Ft float
.Fn expf "float x"
+.Ft long double
+.Fn expl "long double x"
.Ft double
.Fn exp2 "double x"
.Ft float
@@ -67,9 +70,10 @@
.Fn powf "float x" "float y"
.Sh DESCRIPTION
The
-.Fn exp
-and the
-.Fn expf
+.Fn exp ,
+.Fn expf ,
+and
+.Fn expl
functions compute the base
.Ms e
exponential value of the given argument
OpenPOWER on IntegriCloud