OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[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 .\" 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 .\"
25 .\" References consulted:
26 .\"     Linux libc source code
27 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
28 .\"     386BSD man pages
29 .\" Modified Sat Jul 24 19:08:17 1993 by Rik Faith (faith@cs.unc.edu)
30 .\" Modified 2002-08-25, aeb
31 .\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB
32 .\" 2008-07-24, mtk, moved yxx() material into separate y0.3 page
33 .\"
34 .\"*******************************************************************
35 .\"
36 .\" This file was generated with po4a. Translate the source file.
37 .\"
38 .\"*******************************************************************
39 .TH J0 3 2010\-09\-20 "" "Linux Programmer's Manual"
40 .SH 名前
41 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl \- 第一種ベッセル関数
42 .SH 書式
43 .nf
44 \fB#include <math.h>\fP
45 .sp
46 .fi
47 \fBdouble j0(double \fP\fIx\fP\fB);\fP
48 .br
49 \fBdouble j1(double \fP\fIx\fP\fB);\fP
50 .br
51 \fBdouble jn(int \fP\fIn\fP\fB, double \fP\fIx\fP\fB);\fP
52 .sp
53 \fBfloat j0f(float \fP\fIx\fP\fB);\fP
54 .br
55 \fBfloat j1f(float \fP\fIx\fP\fB);\fP
56 .br
57 \fBfloat jnf(int \fP\fIn\fP\fB, float \fP\fIx\fP\fB);\fP
58 .sp
59 \fBlong double j0l(long double \fP\fIx\fP\fB);\fP
60 .br
61 \fBlong double j1l(long double \fP\fIx\fP\fB);\fP
62 .br
63 \fBlong double jnl(int \fP\fIn\fP\fB, long double \fP\fIx\fP\fB);\fP
64 .sp
65 \fI\-lm\fP でリンクする。
66 .sp
67 .in -4n
68 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
69 .in
70 .sp
71 .ad l
72 \fBj0\fP(), \fBj1\fP(), \fBjn\fP():
73 .RS 4
74 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
75 .RE
76 .br
77 \fBj0f\fP(), \fBj0l\fP(), \fBj1f\fP(), \fBj1l\fP(), \fBjnf\fP(), \fBjnl\fP():
78 .RS 4
79 .\" Also seems to work: -std=c99 -D_XOPEN_SOURCE
80 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600
81 .RE
82 .ad b
83 .SH 説明
84 関数 \fBj0\fP(), \fBj1\fP()  はそれぞれ \fIx\fP の0次、1次の 第一種ベッセル関数の値を返す。 関数 \fBjn\fP()  は \fIx\fP の
85 \fIn\fP 次の 第一種ベッセル関数の値を返す。
86 .PP
87 \fBj0f\fP()  群の関数、 \fBj0l\fP()  群の関数は、それぞれ \fIfloat\fP 型、 \fIlong double\fP 型の返り値を返す。
88 .SH 返り値
89 成功すると、これらの関数は \fIx\fP に対する第一種ベッセル関数の値を返す。
90
91 \fIx\fP が NaN の場合、NaN が返される。
92
93 \fIx\fP の絶対値が大き過ぎる場合や結果がアンダーフローする場合、 範囲エラー (range error) が発生し、返り値が 0 となる。
94 .SH エラー
95 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
96 .PP
97 以下のエラーが発生する可能性がある。
98 .TP 
99 範囲エラー: 結果のアンダーフローや、\fIx\fP の絶対値が大き過ぎる
100 .\" An underflow floating-point exception
101 .\" .RB ( FE_UNDERFLOW )
102 .\" is raised.
103 \fIerrno\fP に \fBERANGE\fP が設定される。
104 .PP
105 .\" FIXME . Is it intentional that these functions do not raise exceptions?
106 .\" e.g., j0(1.5e16)
107 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
108 これらの関数は、 \fBfetestexcept\fP(3)  でチェックできる例外を上げない。
109 .SH 準拠
110 \fIdouble\fP 型の値を返す関数は、SVr4, 4.3BSD, POSIX.1\-2001 に準拠する。 それ以外は非標準の関数で、BSD
111 にも存在する。
112 .SH バグ
113 \-8 から 8 までの \fIx\fP の値について \fBj0\fP(), \fBj1\fP(), \fBjn\fP()  が返す値には、最大で 2e\-16 の誤差がある。
114 .SH 関連項目
115 \fBy0\fP(3)