summaryrefslogtreecommitdiffstats
path: root/lib/msun/man/exp.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/man/exp.3')
-rw-r--r--lib/msun/man/exp.317
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/msun/man/exp.3 b/lib/msun/man/exp.3
index 89a2dc5..f15c498 100644
--- a/lib/msun/man/exp.3
+++ b/lib/msun/man/exp.3
@@ -28,7 +28,7 @@
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
.\" $FreeBSD$
.\"
-.Dd June 3, 2013
+.Dd November 9, 2015
.Dt EXP 3
.Os
.Sh NAME
@@ -43,7 +43,8 @@
.Nm expm1f ,
.Nm expm1l ,
.Nm pow ,
-.Nm powf
+.Nm powf ,
+.Nm powl
.Nd exponential and power functions
.Sh LIBRARY
.Lb libm
@@ -71,6 +72,8 @@
.Fn pow "double x" "double y"
.Ft float
.Fn powf "float x" "float y"
+.Ft long double
+.Fn powl "long double x" "long double y"
.Sh DESCRIPTION
The
.Fn exp ,
@@ -99,9 +102,10 @@ functions compute the value exp(x)\-1 accurately even for tiny argument
.Fa x .
.Pp
The
-.Fn pow
+.Fn pow ,
+.Fn powf ,
and the
-.Fn powf
+.Fn powl
functions compute the value
of
.Ar x
@@ -122,9 +126,10 @@ Otherwise the error in these functions is generally below one
These functions will return the appropriate computation unless an error
occurs or an argument is out of range.
The functions
-.Fn pow x y
+.Fn pow x y ,
+.Fn powf x y ,
and
-.Fn powf x y
+.Fn powl x y
raise an invalid exception and return an \*(Na if
.Fa x
< 0 and
OpenPOWER on IntegriCloud