2 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
4 .\" <mtk.manpages@gmail.com>
6 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
8 .\" References consulted:
9 .\" Linux libc source code
10 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
12 .\" Modified Sat Jul 24 19:08:17 1993 by Rik Faith (faith@cs.unc.edu)
13 .\" Modified 2002-08-25, aeb
14 .\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB
15 .\" 2008-07-24, mtk, moved yxx() material into separate y0.3 page
17 .TH j0 3 (date) "Linux man-pages (unreleased)"
19 j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl \-
20 Bessel functions of the first kind
23 .RI ( libm ", " \-lm )
28 .BI "double j0(double " x );
29 .BI "double j1(double " x );
30 .BI "double jn(int " n ", double " x );
32 .BI "float j0f(float " x );
33 .BI "float j1f(float " x );
34 .BI "float jnf(int " n ", float " x );
36 .BI "long double j0l(long double " x );
37 .BI "long double j1l(long double " x );
38 .BI "long double jnl(int " n ", long double " x );
42 Feature Test Macro Requirements for glibc (see
43 .BR feature_test_macros (7)):
51 || /* Since glibc 2.19: */ _DEFAULT_SOURCE
52 || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
63 || (_ISOC99_SOURCE && _XOPEN_SOURCE)
64 || /* Since glibc 2.19: */ _DEFAULT_SOURCE
65 || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
72 functions return Bessel functions of
74 of the first kind of orders 0 and 1, respectively.
78 returns the Bessel function of
80 of the first kind of order
88 functions are versions that take and return
96 functions are versions that take and return
100 On success, these functions return the appropriate
101 Bessel value of the first kind for
106 is a NaN, a NaN is returned.
110 is too large in magnitude,
111 or the result underflows,
112 a range error occurs,
113 and the return value is 0.
117 for information on how to determine whether an error has occurred
118 when calling these functions.
120 The following errors can occur:
122 Range error: result underflow, or \fIx\fP is too large in magnitude
127 These functions do not raise exceptions for
128 .BR fetestexcept (3).
130 .\" This is intentional.
131 .\" See https://www.sourceware.org/bugzilla/show_bug.cgi?id=6805
133 For an explanation of the terms used in this section, see
139 Interface Attribute Value
146 T} Thread safety MT-Safe
153 T} Thread safety MT-Safe
160 T} Thread safety MT-Safe
181 POSIX.1-2001, POSIX.1-2008.
186 There are errors of up to 2e\-16 in the values returned by