Document powl(3)
PR: 191751 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
1c302b58da
commit
6922f80018
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290605
@ -169,7 +169,8 @@ MLINKS+=cosh.3 coshf.3 cosh.3 coshl.3
|
|||||||
MLINKS+=csqrt.3 csqrtf.3 csqrt.3 csqrtl.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+=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 \
|
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+=fabs.3 fabsf.3 fabs.3 fabsl.3
|
||||||
MLINKS+=fdim.3 fdimf.3 fdim.3 fdiml.3
|
MLINKS+=fdim.3 fdimf.3 fdim.3 fdiml.3
|
||||||
MLINKS+=feclearexcept.3 fegetexceptflag.3 feclearexcept.3 feraiseexcept.3 \
|
MLINKS+=feclearexcept.3 fegetexceptflag.3 feclearexcept.3 feraiseexcept.3 \
|
||||||
|
@ -43,7 +43,8 @@
|
|||||||
.Nm expm1f ,
|
.Nm expm1f ,
|
||||||
.Nm expm1l ,
|
.Nm expm1l ,
|
||||||
.Nm pow ,
|
.Nm pow ,
|
||||||
.Nm powf
|
.Nm powf ,
|
||||||
|
.Nm powl
|
||||||
.Nd exponential and power functions
|
.Nd exponential and power functions
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libm
|
.Lb libm
|
||||||
@ -71,6 +72,8 @@
|
|||||||
.Fn pow "double x" "double y"
|
.Fn pow "double x" "double y"
|
||||||
.Ft float
|
.Ft float
|
||||||
.Fn powf "float x" "float y"
|
.Fn powf "float x" "float y"
|
||||||
|
.Ft long double
|
||||||
|
.Fn powl "long double x" "long double y"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn exp ,
|
.Fn exp ,
|
||||||
@ -99,9 +102,10 @@ functions compute the value exp(x)\-1 accurately even for tiny argument
|
|||||||
.Fa x .
|
.Fa x .
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fn pow
|
.Fn pow ,
|
||||||
|
.Fn powf ,
|
||||||
and the
|
and the
|
||||||
.Fn powf
|
.Fn powl
|
||||||
functions compute the value
|
functions compute the value
|
||||||
of
|
of
|
||||||
.Ar x
|
.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
|
These functions will return the appropriate computation unless an error
|
||||||
occurs or an argument is out of range.
|
occurs or an argument is out of range.
|
||||||
The functions
|
The functions
|
||||||
.Fn pow x y
|
.Fn pow x y ,
|
||||||
|
.Fn powf x y ,
|
||||||
and
|
and
|
||||||
.Fn powf x y
|
.Fn powl x y
|
||||||
raise an invalid exception and return an \*(Na if
|
raise an invalid exception and return an \*(Na if
|
||||||
.Fa x
|
.Fa x
|
||||||
< 0 and
|
< 0 and
|
||||||
|
Loading…
Reference in New Issue
Block a user