OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / release / man3 / erfc.3
1 .\" Copyright 2008, Linux Foundation, written by Michael Kerrisk
2 .\"     <mtk.manpages@gmail.com>
3 .\"
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .TH ERFC 3 2010\-09\-20 GNU "Linux Programmer's Manual"
32 .SH 名前
33 erfc, erfcf, erfcl \- 相補誤差関数
34 .SH 書式
35 .nf
36 \fB#include <math.h>\fP
37
38 \fBdouble erfc(double \fP\fIx\fP\fB);\fP
39 \fBfloat erfcf(float \fP\fIx\fP\fB);\fP
40 \fBlong double erfcl(long double \fP\fIx\fP\fB);\fP
41
42 .fi
43 \fI\-lm\fP でリンクする。
44 .sp
45 .in -4n
46 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
47 .in
48 .sp
49 .ad l
50 \fBerfc\fP():
51 .RS 4
52 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE ||
53 _POSIX_C_SOURCE\ >=\ 200112L;
54 .br
55 or \fIcc\ \-std=c99\fP
56 .RE
57 .br
58 \fBerfcf\fP(), \fBerfcl\fP():
59 .RS 4
60 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
61 || _POSIX_C_SOURCE\ >=\ 200112L;
62 .br
63 or \fIcc\ \-std=c99\fP
64 .RE
65 .ad b
66 .SH 説明
67 \fBerfc\fP()  関数は \fIx\fP の相補誤差関数、つまり 1.0 \- erf(x) を返す。
68 .SH 返り値
69 成功すると、これらの関数は \fIx\fP の相補誤差関数を返す。 返り値は [0,2] の範囲となる。
70
71 \fIx\fP が NaN の場合、NaN が返される。
72
73 \fIx\fP が +0 か \-0 の場合、1 が返される。
74
75 \fIx\fP が正の無限大の場合、+0 が返される。
76
77 \fIx\fP が負の無限大の場合、+2 が返される。
78
79 関数の結果がアンダーフローし、表現できない値となる場合は、 返り値は 0.0 となる。
80
81 .\" e.g., erfc(27) on x86-32
82 関数の結果がアンダーフローするが、 表現できる値 (つまり非正規化数 (subnormal)) となる場合は、 その値が返され、範囲エラー (range
83 error) が発生する。
84 .SH エラー
85 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
86 .PP
87 以下のエラーが発生する可能性がある。
88 .TP 
89 範囲エラー: 結果のアンダーフロー (結果が非正規化数)
90 .\" .I errno
91 .\" is set to
92 .\" .BR ERANGE .
93 アンダーフロー浮動小数点例外 (\fBFE_UNDERFLOW\fP)  が上がる。
94 .PP
95 .\" FIXME . Is it intentional that these functions do not set errno?
96 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6785
97 これらの関数は \fIerrno\fP を設定しない。
98 .SH 準拠
99 C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD にも準拠している。
100 .SH 注意
101 \fBerfc\fP()  関数が提供されているのは、 \fIx\fP が大きな値の場合に (erf(x) の値は 1 に近付いていくことで)  1\-erf(x)
102 の計算において精度が失われるのを避けるためである。
103 .SH 関連項目
104 \fBcerf\fP(3), \fBerf\fP(3), \fBexp\fP(3)
105 .SH この文書について
106 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
107 である。プロジェクトの説明とバグ報告に関する情報は
108 http://www.kernel.org/doc/man\-pages/ に書かれている。