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>
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.
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.
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
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" References consulted:
26 .\" Linux libc source code
27 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
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, created this page, based on material from j0.3.
34 .\" Japanese Version Copyright (c) 2008 Akihiro MOTOKI
35 .\" all rights reserved.
36 .\" Translated 2008-09-19, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.07
38 .TH Y0 3 2008-08-10 "" "Linux Programmer's Manual"
40 y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl \-
46 .BI "double y0(double " x );
48 .BI "double y1(double " x );
50 .BI "double yn(int " n ", double " x );
52 .BI "float y0f(float " x );
54 .BI "float y1f(float " x );
56 .BI "float ynf(int " n ", float " x );
58 .BI "long double y0l(long double " x );
60 .BI "long double y1l(long double " x );
62 .BI "long double ynl(int " n ", long double " x );
69 .RB ( feature_test_macros (7)
78 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
88 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600
89 .\" Also seems to work: -std=c99 -D_XOPEN_SOURCE
98 はそれぞれ \fIx\fP の 0 次、1 次の
102 は \fIx\fP の \fIn\fP 次の
105 \fIx\fP は正の値でなければならない。
124 が負の場合、領域エラー (domain error) が発生し、
129 を返す (POSIX.1-2001 ではこの場合に NaN を返すことも認めている)。
132 が 0.0 の場合、極エラー (pole error) が発生し、
140 範囲エラー (range error) が発生し、
143 結果がオーバーフローする場合、範囲エラーが発生し、
148 を返す (POSIX.1-2001 ではこの場合に 0.0 を返すことも認めている)。
150 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
166 .\" Before POSIX.1-2001 TC2, this was (inconsistently) specified
167 .\" as a range error.
168 .\" FIXME . y0(0.0) gives EDOM
172 が設定される (「バグ」の節を参照のこと)。
178 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
181 .\" e.g., y0(1e33) on glibc 2.8/x86-32
186 .\" An underflow floating-point exception
187 .\" .RB ( FE_UNDERFLOW )
189 .\" FIXME . Is it intentional that these functions do not use FE_*?
190 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
198 .\" e.g., yn(10, 1e-40) on glibc 2.8/x86-32
205 .\" FIXME . Is it intentional that errno is not set?
206 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
212 型の値を返す関数は、SVr4, 4.3BSD, POSIX.1-2001
214 それ以外は非標準の関数で、BSD にも存在する。
225 .\" Bug raised: http://sourceware.org/bugzilla/show_bug.cgi?id=6807
227 glibc バージョン 2.3.2 以前では、
228 .\" FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
229 .\" to confirm if this error occurs only in 2.3.2.
230 領域エラーが発生した場合に、これらの関数は