OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / draft / man3 / erfc.3
index c54d5da..6509d54 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
+.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 2008  Akihiro MOTOKI
 .\"         all rights reserved.
 .\" Translated 2008-09-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
-.\" 
-.\"WORD:       subnormal       ÈóÀµµ¬²½¤Î
-.\" 
-.TH ERFC 3  2008-08-05 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O erfc, erfcf, erfcl \- complementary error function
-erfc, erfcf, erfcl \- ÁêÊä¸íº¹´Ø¿ô
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.\"
+.TH ERFC 3 2013\-10\-29 GNU "Linux Programmer's Manual"
+.SH 名前
+erfc, erfcf, erfcl \- 相補誤差関数
+.SH 書式
 .nf
-.B #include <math.h>
+\fB#include <math.h>\fP
 
-.BI "double erfc(double " x );
-.BI "float erfcf(float " x );
-.BI "long double erfcl(long double " x );
+\fBdouble erfc(double \fP\fIx\fP\fB);\fP
+\fBfloat erfcf(float \fP\fIx\fP\fB);\fP
+\fBlong double erfcl(long double \fP\fIx\fP\fB);\fP
 
 .fi
-.\"O Link with \fI\-lm\fP.
-\fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
+\fI\-lm\fP でリンクする。
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-.BR erfc ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE; or
-.I cc\ -std=c99
+\fBerfc\fP():
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or \fIcc\ \-std=c99\fP
+.RE
+.br
+\fBerfcf\fP(), \fBerfcl\fP():
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
+|| _POSIX_C_SOURCE\ >=\ 200112L;
 .br
-.BR erfcf (),
-.BR erfcl ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600|| _ISOC99_SOURCE; or
-.I cc\ -std=c99
+or \fIcc\ \-std=c99\fP
+.RE
 .ad b
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O The
-.\"O .BR erfc ()
-.\"O function returns the complementary error function of
-.\"O .IR x ,
-.\"O that is, 1.0 \- erf(x).
-.BR erfc ()
-´Ø¿ô¤Ï
-.I x
-¤ÎÁêÊä¸íº¹´Ø¿ô¡¢¤Ä¤Þ¤ê 1.0 \- erf(x) ¤òÊÖ¤¹¡£
-.\"O .SH RETURN VALUE
-.SH ÊÖ¤êÃÍ
-.\"O On success, these functions return the complementary error function of
-.\"O .IR x ,
-.\"O a value in the range [0,2].
-À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
-.I x
-¤ÎÁêÊä¸íº¹´Ø¿ô¤òÊÖ¤¹¡£
-ÊÖ¤êÃͤϠ[0,2] ¤ÎÈϰϤȤʤ롣
+.SH 説明
+\fBerfc\fP()  関数は \fIx\fP の相補誤差関数、つまり 1.0 \- erf(x) を返す。
+.SH 返り値
+成功すると、これらの関数は \fIx\fP の相補誤差関数を返す。 返り値は [0,2] の範囲となる。
 
-.\"O If
-.\"O .I x
-.\"O is a NaN, a NaN is returned.
-.I x
-¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP が NaN の場合、NaN が返される。
 
-.\"O If
-.\"O .I x
-.\"O is +0 or \-0, 1 is returned.
-.I x
-¤¬ +0 ¤« \-0 ¤Î¾ì¹ç¡¢1 ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP が +0 か \-0 の場合、1 が返される。
 
-.\"O If
-.\"O .I x
-.\"O is positive infinity,
-.\"O +0 is returned.
-.I x
-¤¬Àµ¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+0 ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP が正の無限大の場合、+0 が返される。
 
-.\"O If
-.\"O .I x
-.\"O is negative infinity,
-.\"O +2 is returned.
-.I x
-¤¬Éé¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+2 ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP が負の無限大の場合、+2 が返される。
 
-.\"O If the function result underflows and produces an unrepresentable value,
-.\"O the return value is 0.0.
-´Ø¿ô¤Î·ë²Ì¤¬¥¢¥ó¥À¡¼¥Õ¥í¡¼¤·¡¢É½¸½¤Ç¤­¤Ê¤¤ÃͤȤʤë¾ì¹ç¤Ï¡¢
-ÊÖ¤êÃͤϠ0.0 ¤È¤Ê¤ë¡£
+関数の結果がアンダーフローし、表現できない値となる場合は、 返り値は 0.0 となる。
 
-.\"O If the function result underflows but produces a representable
-.\"O (i.e., subnormal) value,
-.\"O .\" e.g., erfc(27) on x86-32
-.\"O that value is returned, and
-.\"O a range error occurs.
-´Ø¿ô¤Î·ë²Ì¤¬¥¢¥ó¥À¡¼¥Õ¥í¡¼¤¹¤ë¤¬¡¢
-ɽ¸½¤Ç¤­¤ëÃÍ (¤Ä¤Þ¤êÈóÀµµ¬²½¿ô (subnormal)) ¤È¤Ê¤ë¾ì¹ç¤Ï¡¢
-.\" Î㤨¤Ð x86-32 ¤Ç¤Î erfc(27)
-¤½¤ÎÃͤ¬ÊÖ¤µ¤ì¡¢ÈÏ°Ï¥¨¥é¡¼ (range error) ¤¬È¯À¸¤¹¤ë¡£
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.\"O See
-.\"O .BR math_error (7)
-.\"O for information on how to determine whether an error has occurred
-.\"O when calling these functions.
-¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
-.BR math_error (7)
-¤ò»²¾È¤Î¤³¤È¡£
+.\" e.g., erfc(27) on x86-32
+関数の結果がアンダーフローするが、 表現できる値 (つまり非正規化数 (subnormal)) となる場合は、 その値が返され、範囲エラー (range
+error) が発生する。
+.SH エラー
+これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
 .PP
-.\"O The following errors can occur:
-°Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
-.TP
-.\"O Range error: result underflow (result is subnormal)
-ÈÏ°Ï¥¨¥é¡¼: ·ë²Ì¤Î¥¢¥ó¥À¡¼¥Õ¥í¡¼ (·ë²Ì¤¬ÈóÀµµ¬²½¿ô)
+以下のエラーが発生する可能性がある。
+.TP 
+範囲エラー: 結果のアンダーフロー (結果が非正規化数)
 .\" .I errno
 .\" is set to
 .\" .BR ERANGE .
-.\"O An underflow floating-point exception
-.\"O .RB ( FE_UNDERFLOW )
-.\"O is raised.
-¥¢¥ó¥À¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
-.RB ( FE_UNDERFLOW )
-¤¬¾å¤¬¤ë¡£
+アンダーフロー浮動小数点例外 (\fBFE_UNDERFLOW\fP)  が上がる。
 .PP
-.\"O These functions do not set
-.\"O .IR errno .
-¤³¤ì¤é¤Î´Ø¿ô¤Ï
-.I errno
-¤òÀßÄꤷ¤Ê¤¤¡£
 .\" FIXME . Is it intentional that these functions do not set errno?
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6785
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-C99, POSIX.1-2001.
-.\"O The variant returning
-.\"O .I double
-.\"O also conforms to
-.\"O SVr4, 4.3BSD.
-.I double
-ÈǤδؿô¤Ï SVr4, 4.3BSD ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O The
-.\"O .BR erfc ()
-.\"O functions are provided to avoid the loss accuracy that
-.\"O would occur for the calculation 1-erf(x) for large values of
-.\"O .IR x
-.\"O (for which the value of erf(x) approaches 1).
-.BR erfc ()
-´Ø¿ô¤¬Ä󶡤µ¤ì¤Æ¤¤¤ë¤Î¤Ï¡¢
-.I x
-¤¬Â礭¤ÊÃͤξì¹ç¤Ë (erf(x) ¤ÎÃͤϠ1 ¤Ë¶áÉÕ¤¤¤Æ¤¤¤¯¤³¤È¤Ç)
-1-erf(x) ¤Î·×»»¤Ë¤ª¤¤¤ÆÀºÅÙ¤¬¼º¤ï¤ì¤ë¤Î¤òÈò¤±¤ë¤¿¤á¤Ç¤¢¤ë¡£
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR cerf (3),
-.BR erf (3),
-.BR exp (3)
+これらの関数は \fIerrno\fP を設定しない。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+関数 \fBerfc\fP(), \fBerfcf\fP(), \fBerfcl\fP() はスレッドセーフである。
+.SH 準拠
+C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD にも準拠している。
+.SH 注意
+関数 \fBerfc\fP(), \fBerfcf\fP(), \fBerfcl\fP() が提供されているのは、 \fIx\fP が大きな値の場合に (erf(x) の値は
+1 に近付いていくことで)  1\-erf(x) の計算において精度が失われるのを避けるためである。
+.SH 関連項目
+\fBcerf\fP(3), \fBerf\fP(3), \fBexp\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。