Document powl(3)

PR: 191751
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-11-09 10:40:16 +00:00
parent 1c302b58da
commit 6922f80018
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290605
2 changed files with 12 additions and 6 deletions

View File

@ -169,7 +169,8 @@ MLINKS+=cosh.3 coshf.3 cosh.3 coshl.3
MLINKS+=csqrt.3 csqrtf.3 csqrt.3 csqrtl.3
MLINKS+=erf.3 erfc.3 erf.3 erff.3 erf.3 erfcf.3 erf.3 erfl.3 erf.3 erfcl.3
MLINKS+=exp.3 expm1.3 exp.3 expm1f.3 exp.3 expm1l.3 exp.3 pow.3 exp.3 powf.3 \
exp.3 exp2.3 exp.3 exp2f.3 exp.3 exp2l.3 exp.3 expf.3 exp.3 expl.3
exp.3 powl.3 exp.3 exp2.3 exp.3 exp2f.3 exp.3 exp2l.3 exp.3 expf.3 \
exp.3 expl.3
MLINKS+=fabs.3 fabsf.3 fabs.3 fabsl.3
MLINKS+=fdim.3 fdimf.3 fdim.3 fdiml.3
MLINKS+=feclearexcept.3 fegetexceptflag.3 feclearexcept.3 feraiseexcept.3 \

View File

@ -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