OSDN Git Service

LDP: Update draft based on the previous commit
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / lgamma.3
index 3c9ef84..84a6a49 100644 (file)
@@ -76,11 +76,9 @@ _XOPEN_SOURCE
 .SH 説明
 ガンマ関数の定義については、 \fBtgamma\fP(3)  を参照のこと。
 .PP
-The \fBlgamma\fP(), \fBlgammaf\fP(), and \fBlgammal\fP()  functions return the
-natural logarithm of the absolute value of the Gamma function.  The sign of
-the Gamma function is returned in the external integer \fIsigngam\fP declared
-in \fI<math.h>\fP.  It is 1 when the Gamma function is positive or
-zero, \-1 when it is negative.
+関数 \fBlgamma\fP(), \fBlgammaf\fP(), \fBlgammal\fP() は、ガンマ関数の絶対値の自然対数を返す。 ガンマ関数の符号は、
+\fI<math.h>\fP で宣言されている extern int \fIsigngam\fP に格納される。
+格納される値は、ガンマ関数が正または 0 の場合 1、 負の場合 \-1 である。
 .PP
 \fIsigngam\fP という固定された場所を使うことはスレッドセーフではないので、 関数 \fBlgamma_r\fP(), \fBlgammaf_r\fP(),
 \fBlgammal_r\fP() が導入された。 これらの関数では、符号は引き数 \fIsignp\fP 経由で返される。
@@ -113,10 +111,9 @@ zero, \-1 when it is negative.
 .\" exception for various cases.
 \fIerrno\fP に \fBERANGE\fP が設定される。 オーバーフロー浮動小数点例外 (\fBFE_OVERFLOW\fP)  が上がる。
 .SH 準拠
-The \fBlgamma\fP()  functions are specified in C99, POSIX.1\-2001, and
-POSIX.1\-2008.  \fIsigngam\fP is specified in POSIX.1\-2001 and POSIX.1\-2008, but
-not in C99.  The \fBlgamma_r\fP()  functions are nonstandard, but present on
-several other systems.
+関数 \fBlgamma\fP()  は C99, POSIX.1\-2001, POSIX.1\-2008 で規定されている。 \fIsigngam\fP は
+POSIX.1\-2001 と POSIX.1\-2008 で規定されているが、C99 にはない。 関数 \fBlgamma_r\fP()
+は非標準だが、いくつかの他のシステムにも存在する。
 .SH バグ
 .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
 glibc 2.9 とそれ以前のバージョンでは、 極エラーが発生した場合、POSIX で要求されている \fBERANGE\fP ではなく \fBEDOM\fP が