OSDN Git Service

d4f5279909dc6d379e538f1639d127554a8c1460
[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 .\" Japanese Version Copyright (c) 1998 Ishii Tatsuo all rights reserved.
35 .\" Translated Sun May 24 1998 by Ishii Tatsuo <rfun@azusa.shinshu-u.ac.jp>
36 .\" Updated 2002-09-24 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
37 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
38 .\"
39 .TH J0 3  2008-08-05 "" "Linux Programmer's Manual"
40 .SH Ì¾Á°
41 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl \- Âè°ì¼ï¥Ù¥Ã¥»¥ë´Ø¿ô
42 .SH ½ñ¼°
43 .nf
44 .B #include <math.h>
45 .sp
46 .fi
47 .BI "double j0(double " x );
48 .br
49 .BI "double j1(double " x );
50 .br
51 .BI "double jn(int " n ", double " x );
52 .sp
53 .BI "float j0f(float " x );
54 .br
55 .BI "float j1f(float " x );
56 .br
57 .BI "float jnf(int " n ", float " x );
58 .sp
59 .BI "long double j0l(long double " x );
60 .br
61 .BI "long double j1l(long double " x );
62 .br
63 .BI "long double jnl(int " n ", long double " x );
64 .fi
65 .sp
66 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
67 .sp
68 .in -4n
69 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
70 .RB ( feature_test_macros (7)
71 »²¾È):
72 .in
73 .sp
74 .ad l
75 .BR j0 (),
76 .BR j1 (),
77 .BR jn ():
78 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
79 .br
80 .BR j0f (),
81 .BR j0l (),
82 .BR j1f (),
83 .BR j1l (),
84 .BR jnf (),
85 .BR jnl ():
86 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600
87 .\" Also seems to work: -std=c99 -D_XOPEN_SOURCE
88 .ad b
89 .SH ÀâÌÀ
90 ´Ø¿ô
91 .BR j0 (),
92 .BR j1 ()
93 ¤Ï¤½¤ì¤¾¤ì \fIx\fP ¤Î0¼¡¡¢1¼¡¤Î
94 Âè°ì¼ï¥Ù¥Ã¥»¥ë´Ø¿ô¤ÎÃͤòÊÖ¤¹¡£
95 ´Ø¿ô
96 .BR jn ()
97 ¤Ï \fIx\fP ¤Î \fIn\fP ¼¡¤Î
98 Âè°ì¼ï¥Ù¥Ã¥»¥ë´Ø¿ô¤ÎÃͤòÊÖ¤¹¡£
99 .PP
100 .BR j0f ()
101 ·²¤Î´Ø¿ô¡¢
102 .BR j0l ()
103 ·²¤Î´Ø¿ô¤Ï¡¢¤½¤ì¤¾¤ì
104 .I float
105 ·¿¡¢
106 .I "long double"
107 ·¿¤ÎÊÖ¤êÃͤòÊÖ¤¹¡£
108 .SH ÊÖ¤êÃÍ
109 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
110 .I x
111 ¤ËÂФ¹¤ëÂè°ì¼ï¥Ù¥Ã¥»¥ë´Ø¿ô¤ÎÃͤòÊÖ¤¹¡£
112
113 .I x
114 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
115
116 .I x
117 ¤ÎÀäÂÐÃͤ¬Â礭²á¤®¤ë¾ì¹ç¤ä·ë²Ì¤¬¥¢¥ó¥À¡¼¥Õ¥í¡¼¤¹¤ë¾ì¹ç¡¢
118 ÈÏ°Ï¥¨¥é¡¼ (range error) ¤¬È¯À¸¤·¡¢ÊÖ¤êÃͤ¬ 0 ¤È¤Ê¤ë¡£
119 .SH ¥¨¥é¡¼
120 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
121 .BR math_error (7)
122 ¤ò»²¾È¤Î¤³¤È¡£
123 .PP
124 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
125 .TP
126 ÈÏ°Ï¥¨¥é¡¼: ·ë²Ì¤Î¥¢¥ó¥À¡¼¥Õ¥í¡¼¤ä¡¢\fIx\fP ¤ÎÀäÂÐÃͤ¬Â礭²á¤®¤ë
127 .I errno
128 ¤Ë
129 .B ERANGE
130 ¤¬ÀßÄꤵ¤ì¤ë¡£
131 .\" An underflow floating-point exception
132 .\" .RB ( FE_UNDERFLOW )
133 .\" is raised.
134 .PP
135 ¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢
136 .BR fetestexcept (3)
137 ¤Ç¥Á¥§¥Ã¥¯¤Ç¤­¤ëÎã³°¤ò¾å¤²¤Ê¤¤¡£
138 .\" FIXME . Is it intentional that these functions do not raise exceptions?
139 .\" e.g., j0(1.5e16)
140 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
141 .SH ½àµò
142 .I double
143 ·¿¤ÎÃͤòÊÖ¤¹´Ø¿ô¤Ï¡¢SVr4, 4.3BSD, POSIX.1-2001
144 ¤Ë½àµò¤¹¤ë¡£
145 ¤½¤ì°Ê³°¤ÏÈóɸ½à¤Î´Ø¿ô¤Ç¡¢BSD ¤Ë¤â¸ºß¤¹¤ë¡£
146 .SH ¥Ð¥°
147 \-8 ¤«¤é 8 ¤Þ¤Ç¤Î \fIx\fP ¤ÎÃͤˤĤ¤¤Æ
148 .BR j0 (),
149 .BR j1 (),
150 .BR jn ()
151 ¤¬ÊÖ¤¹Ãͤˤϡ¢ºÇÂç¤Ç 2e\-16 ¤Î¸íº¹¤¬¤¢¤ë¡£
152 .SH ´ØÏ¢¹àÌÜ
153 .BR y0 (3)