OSDN Git Service

4e0ff788f0797bb67c76dfa6f50bd34e65b0b2a5
[linuxjm/LDP_man-pages.git] / release / man3 / j0.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\"     <mtk.manpages@gmail.com>
4 .\"
5 .\" %%%LICENSE_START(VERBATIM)
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" %%%LICENSE_END
26 .\"
27 .\" References consulted:
28 .\"     Linux libc source code
29 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
30 .\"     386BSD man pages
31 .\" Modified Sat Jul 24 19:08:17 1993 by Rik Faith (faith@cs.unc.edu)
32 .\" Modified 2002-08-25, aeb
33 .\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB
34 .\" 2008-07-24, mtk, moved yxx() material into separate y0.3 page
35 .\"
36 .\"*******************************************************************
37 .\"
38 .\" This file was generated with po4a. Translate the source file.
39 .\"
40 .\"*******************************************************************
41 .TH J0 3 2010\-09\-20 "" "Linux Programmer's Manual"
42 .SH 名前
43 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl \- 第一種ベッセル関数
44 .SH 書式
45 .nf
46 \fB#include <math.h>\fP
47 .sp
48 .fi
49 \fBdouble j0(double \fP\fIx\fP\fB);\fP
50 .br
51 \fBdouble j1(double \fP\fIx\fP\fB);\fP
52 .br
53 \fBdouble jn(int \fP\fIn\fP\fB, double \fP\fIx\fP\fB);\fP
54 .sp
55 \fBfloat j0f(float \fP\fIx\fP\fB);\fP
56 .br
57 \fBfloat j1f(float \fP\fIx\fP\fB);\fP
58 .br
59 \fBfloat jnf(int \fP\fIn\fP\fB, float \fP\fIx\fP\fB);\fP
60 .sp
61 \fBlong double j0l(long double \fP\fIx\fP\fB);\fP
62 .br
63 \fBlong double j1l(long double \fP\fIx\fP\fB);\fP
64 .br
65 \fBlong double jnl(int \fP\fIn\fP\fB, long double \fP\fIx\fP\fB);\fP
66 .sp
67 \fI\-lm\fP でリンクする。
68 .sp
69 .in -4n
70 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
71 .in
72 .sp
73 .ad l
74 \fBj0\fP(), \fBj1\fP(), \fBjn\fP():
75 .RS 4
76 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
77 .RE
78 .br
79 \fBj0f\fP(), \fBj0l\fP(), \fBj1f\fP(), \fBj1l\fP(), \fBjnf\fP(), \fBjnl\fP():
80 .RS 4
81 .\" Also seems to work: -std=c99 -D_XOPEN_SOURCE
82 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600
83 .RE
84 .ad b
85 .SH 説明
86 関数 \fBj0\fP(), \fBj1\fP()  はそれぞれ \fIx\fP の0次、1次の 第一種ベッセル関数の値を返す。 関数 \fBjn\fP()  は \fIx\fP の
87 \fIn\fP 次の 第一種ベッセル関数の値を返す。
88 .PP
89 \fBj0f\fP()  群の関数、 \fBj0l\fP()  群の関数は、それぞれ \fIfloat\fP 型、 \fIlong double\fP 型の返り値を返す。
90 .SH 返り値
91 成功すると、これらの関数は \fIx\fP に対する第一種ベッセル関数の値を返す。
92
93 \fIx\fP が NaN の場合、NaN が返される。
94
95 \fIx\fP の絶対値が大き過ぎる場合や結果がアンダーフローする場合、 範囲エラー (range error) が発生し、返り値が 0 となる。
96 .SH エラー
97 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
98 .PP
99 以下のエラーが発生する可能性がある。
100 .TP 
101 範囲エラー: 結果のアンダーフローや、\fIx\fP の絶対値が大き過ぎる
102 .\" An underflow floating-point exception
103 .\" .RB ( FE_UNDERFLOW )
104 .\" is raised.
105 \fIerrno\fP に \fBERANGE\fP が設定される。
106 .PP
107 .\" FIXME . Is it intentional that these functions do not raise exceptions?
108 .\" e.g., j0(1.5e16)
109 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
110 これらの関数は、 \fBfetestexcept\fP(3)  でチェックできる例外を上げない。
111 .SH 準拠
112 \fIdouble\fP 型の値を返す関数は、SVr4, 4.3BSD, POSIX.1\-2001 に準拠する。 それ以外は非標準の関数で、BSD
113 にも存在する。
114 .SH バグ
115 \-8 から 8 までの \fIx\fP の値について \fBj0\fP(), \fBj1\fP(), \fBjn\fP()  が返す値には、最大で 2e\-16 の誤差がある。
116 .SH 関連項目
117 \fBy0\fP(3)
118 .SH この文書について
119 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
120 である。プロジェクトの説明とバグ報告に関する情報は
121 http://www.kernel.org/doc/man\-pages/ に書かれている。