diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-24 16:45:38 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-24 16:45:38 +0000 |
commit | 96160f27a51d57d67b1454030f3da5ca20451168 (patch) | |
tree | 73ce3832cc42a7371ffbca8ecd9ebe5c9aea4da9 | |
parent | 84b96c88cba75f90ae4a3d3879af310a93a9f715 (diff) | |
download | FreeBSD-src-96160f27a51d57d67b1454030f3da5ca20451168.zip FreeBSD-src-96160f27a51d57d67b1454030f3da5ca20451168.tar.gz |
MFC r290605,r290606:
r290605:
Document powl(3)
PR: 191751
r290606:
Bump .Dd
-rw-r--r-- | lib/msun/Makefile | 3 | ||||
-rw-r--r-- | lib/msun/man/exp.3 | 17 |
2 files changed, 13 insertions, 7 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile index f22f5dc..553cdcc 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -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 \ 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 |