diff options
| author | David Schultz <das@FreeBSD.org> | 2008-02-18 17:27:11 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2008-02-18 17:27:11 +0000 |
| commit | 71c11dd5287ab58a5ec12dd4908f26de0a450c24 (patch) | |
| tree | f7f5d47428250b2afa383a9e49c64d8130afe728 /lib/msun/man | |
| parent | be396b71c13579d24a61c16713e47740a4d64f19 (diff) | |
Notes
Diffstat (limited to 'lib/msun/man')
| -rw-r--r-- | lib/msun/man/lgamma.3 | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/lib/msun/man/lgamma.3 b/lib/msun/man/lgamma.3 index aaa4d7c4918e5..ea6eb6f76f9b9 100644 --- a/lib/msun/man/lgamma.3 +++ b/lib/msun/man/lgamma.3 @@ -40,7 +40,8 @@ .Nm gamma_r , .Nm gammaf , .Nm gammaf_r , -.Nm tgamma +.Nm tgamma , +.Nm tgammaf .Nd log gamma functions, gamma function .Sh LIBRARY .Lb libm @@ -67,6 +68,8 @@ .Fn gammaf_r "float x" "int *signgamp" .Ft double .Fn tgamma "double x" +.Ft float +.Fn tgammaf "float x" .Sh DESCRIPTION .Fn lgamma x and @@ -80,7 +83,6 @@ return ln\||\(*G(x)| where .\} .if n \ return ln\||\(*G(x)|. -.Pp The external integer .Fa signgam returns the sign of \(*G(x). @@ -94,6 +96,13 @@ and .Fn lgammaf x but the caller must provide an integer to store the sign of \(*G(x). .Pp +The +.Fn tgamma x +and +.Fn tgammaf x +functions return \(*G(x), with no effect on +.Fa signgam . +.Pp .Fn gamma , .Fn gammaf , .Fn gamma_r , @@ -106,9 +115,6 @@ are deprecated aliases for and .Fn lgammaf_r , respectively. -.Fn tgamma x -returns \(*G(x), with no effect on -.Fa signgam . .Sh IDIOSYNCRASIES Do not use the expression .Dq Li signgam\(**exp(lgamma(x)) @@ -151,9 +157,11 @@ will underflow. .Xr math 3 .Sh STANDARDS The -.Fn lgamma +.Fn lgamma , +.Fn lgammaf , +.Fn tgamma , and -.Fn tgamma +.Fn tgammaf functions are expected to conform to .St -isoC-99 . .Sh HISTORY |
