File: tgamma.3

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (70 lines) | stat: -rw-r--r-- 2,018 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\" Based on glibc infopages
.\" Modified 2004-11-15, fixed error noted by Fabian Kreutz
.\"	 <kreutz@dbs.uni-hannover.de>
.\"
.\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI
.\"         all rights reserved.
.\" Translated Sun Sep 22 09:31:52 2002
.\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\" Updated & Modified Sat Feb 12 12:00:00 2005
.\"         by SAITOH Akira <s-akira@users.sourceforge.net>
.\"
.TH TGAMMA 3 2004-11-15 "GNU" "libc math functions"
.SH ̾
tgamma, tgammaf, tgammal \- Υ޴ؿ
.SH 
.B #include <math.h>
.sp
.BI "double tgamma(double " x );
.br
.BI "float tgammaf(float " x );
.br
.BI "long double tgammal(long double " x );
.sp
ѥ˥ץ \-std=c99 
󥯻˥ץ \-lm Ѥ뤳ȡ
.SH 
޴ؿϰʲΤ褦:
.sp
 Gamma(x) = t^(x-1) e^-t dt  0 ̵ޤǤʬ
.sp
δؿǤʤ٤Ƥμ¿ФƤ롣
 \fIm\fP ˴ؤơʲΩ:
.sp
 Gamma(m+1) = m!
.sp
Ūˤϡ٤Ƥ \fIx\fP ˴ؤưʲΩ:
.sp
 Gamma(x+1) = x * Gamma(x)
.sp
ˡˤ٤Ƥ \fIx\fP ǼΩ:
.sp
 Gamma(x) * Gamma(1-x) = PI/sin(PI*x)
.PP
δؿϡ \fIx\fP Ф륬޴ؿ֤ͤ
δؿϡ (true) ޴ؿפȸƤФ롣
ʤʤ顢
.I gamma()
ȤؿǤ¸ߤ¾֤ͤǤ롣
.SH 顼
顼å뤿ˤϡδؿƤӽФ
.I errno
 0 ˥åȤ
.I feclearexcept(FE_ALL_EXCEPT)
Ƥ٤Ф褤
ؿ¹Ըˡ
.I errno
 0 ʳ
.I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW)
 0 ʳʤС顼ȯȤʬ롣
.LP
\fIx\fP 礭硢range error ȯ롣
\fIx\fP  0 Ǥ硢pole error ȯ롣
\fIx\fP ξˤ domain error (⤷ pole error) ȯ롣
.SH 
C99.
.SH Ϣ
.BR gamma (3),
.BR lgamma (3)