OSDN Git Service

(split) LDP: Restore and add Copyrights for draft pages
[linuxjm/LDP_man-pages.git] / draft / 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 .\"
42 .\" Japanese Version Copyright (c) 1998 Ishii Tatsuo all rights reserved.
43 .\" Translated Sun May 24 1998 by Ishii Tatsuo <rfun@azusa.shinshu-u.ac.jp>
44 .\" Updated 2002-09-24 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
45 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
46 .\"
47 .TH J0 3 2010\-09\-20 "" "Linux Programmer's Manual"
48 .SH 名前
49 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl \- 第一種ベッセル関数
50 .SH 書式
51 .nf
52 \fB#include <math.h>\fP
53 .sp
54 .fi
55 \fBdouble j0(double \fP\fIx\fP\fB);\fP
56 .br
57 \fBdouble j1(double \fP\fIx\fP\fB);\fP
58 .br
59 \fBdouble jn(int \fP\fIn\fP\fB, double \fP\fIx\fP\fB);\fP
60 .sp
61 \fBfloat j0f(float \fP\fIx\fP\fB);\fP
62 .br
63 \fBfloat j1f(float \fP\fIx\fP\fB);\fP
64 .br
65 \fBfloat jnf(int \fP\fIn\fP\fB, float \fP\fIx\fP\fB);\fP
66 .sp
67 \fBlong double j0l(long double \fP\fIx\fP\fB);\fP
68 .br
69 \fBlong double j1l(long double \fP\fIx\fP\fB);\fP
70 .br
71 \fBlong double jnl(int \fP\fIn\fP\fB, long double \fP\fIx\fP\fB);\fP
72 .sp
73 \fI\-lm\fP でリンクする。
74 .sp
75 .in -4n
76 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
77 .in
78 .sp
79 .ad l
80 \fBj0\fP(), \fBj1\fP(), \fBjn\fP():
81 .RS 4
82 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
83 .RE
84 .br
85 \fBj0f\fP(), \fBj0l\fP(), \fBj1f\fP(), \fBj1l\fP(), \fBjnf\fP(), \fBjnl\fP():
86 .RS 4
87 .\" Also seems to work: -std=c99 -D_XOPEN_SOURCE
88 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600
89 .RE
90 .ad b
91 .SH 説明
92 関数 \fBj0\fP(), \fBj1\fP()  はそれぞれ \fIx\fP の0次、1次の 第一種ベッセル関数の値を返す。 関数 \fBjn\fP()  は \fIx\fP の
93 \fIn\fP 次の 第一種ベッセル関数の値を返す。
94 .PP
95 \fBj0f\fP()  群の関数、 \fBj0l\fP()  群の関数は、それぞれ \fIfloat\fP 型、 \fIlong double\fP 型の返り値を返す。
96 .SH 返り値
97 成功すると、これらの関数は \fIx\fP に対する第一種ベッセル関数の値を返す。
98
99 \fIx\fP が NaN の場合、NaN が返される。
100
101 \fIx\fP の絶対値が大き過ぎる場合や結果がアンダーフローする場合、 範囲エラー (range error) が発生し、返り値が 0 となる。
102 .SH エラー
103 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
104 .PP
105 以下のエラーが発生する可能性がある。
106 .TP 
107 範囲エラー: 結果のアンダーフローや、\fIx\fP の絶対値が大き過ぎる
108 .\" An underflow floating-point exception
109 .\" .RB ( FE_UNDERFLOW )
110 .\" is raised.
111 \fIerrno\fP に \fBERANGE\fP が設定される。
112 .PP
113 .\" FIXME . Is it intentional that these functions do not raise exceptions?
114 .\" e.g., j0(1.5e16)
115 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
116 これらの関数は、 \fBfetestexcept\fP(3)  でチェックできる例外を上げない。
117 .SH 準拠
118 \fIdouble\fP 型の値を返す関数は、SVr4, 4.3BSD, POSIX.1\-2001 に準拠する。 それ以外は非標準の関数で、BSD
119 にも存在する。
120 .SH バグ
121 \-8 から 8 までの \fIx\fP の値について \fBj0\fP(), \fBj1\fP(), \fBjn\fP()  が返す値には、最大で 2e\-16 の誤差がある。
122 .SH 関連項目
123 \fBy0\fP(3)
124 .SH この文書について
125 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
126 である。プロジェクトの説明とバグ報告に関する情報は
127 http://www.kernel.org/doc/man\-pages/ に書かれている。