OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / tgamma.3
index 013cdc1..e0b5e18 100644 (file)
@@ -1,10 +1,15 @@
 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
 .\" Distributed under GPL
+.\" %%%LICENSE_END
+.\"
 .\" Based on glibc infopages
 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\" Modified 2004-11-15, fixed error noted by Fabian Kreutz
 .\"     <kreutz@dbs.uni-hannover.de>
+.\"
 .TH TGAMMA 3 2010-09-20 "GNU" "Linux Programmer's Manual"
 .SH NAME
 tgamma, tgammaf, tgammal \- true gamma function
@@ -42,15 +47,19 @@ The Gamma function is defined by
     Gamma(x) = integral from 0 to infinity of t^(x\-1) e^\-t dt
 .sp
 It is defined for every real number except for nonpositive integers.
-For nonnegative integral \fIm\fP one has
+For nonnegative integral
+.I m
+one has
 .sp
     Gamma(m+1) = m!
 .sp
-and, more generally, for all \fIx\fP:
+and, more generally, for all
+.IR x :
 .sp
     Gamma(x+1) = x * Gamma(x)
 .sp
-Furthermore, the following is valid for all values of \fIx\fP
+Furthermore, the following is valid for all values of
+.I x
 outside the poles:
 .sp
     Gamma(x) * Gamma(1 \- x) = PI / sin(PI * x)
@@ -87,7 +96,7 @@ and the functions return 0, with the correct mathematical sign.
 
 If
 .I x
-is -0 or +0,
+is \-0 or +0,
 a pole error occurs,
 and the functions return
 .BR HUGE_VAL ,
@@ -150,7 +159,7 @@ is not set for this case.
 .\" exception for various cases.
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 C99, POSIX.1-2001.
 .SH NOTES
 This function had to be called "true gamma function"
@@ -169,13 +178,22 @@ is not set (it should be set to
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
 
 In glibc versions 2.3.3 and earlier,
-an argument of +0 or -0 incorrectly produced a domain error
+an argument of +0 or \-0 incorrectly produced a domain error
 .RI ( errno
 set to
 .B EDOM
 and an
 .B FE_INVALID
 exception raised), rather than a pole error.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR gamma (3),
 .BR lgamma (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.