1y0(3M)                  Mathematical Library Functions                  y0(3M)
2
3
4

NAME

6       y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl - Bessel functions of the sec‐
7       ond kind
8

SYNOPSIS

10       c99 [ flag... ] file... -lm [ library... ]
11       #include <math.h>
12
13       double y0(double x);
14
15
16       float y0f(float x);
17
18
19       long double y0l(long double x);
20
21
22       double y1(double x);
23
24
25       float y1f(float x);
26
27
28       long double y1l(long double x);
29
30
31       double yn(int n, double x);
32
33
34       float ynf(int n, float x);
35
36
37       long double ynl(int n, long double x);
38
39

DESCRIPTION

41       These functions compute Bessel functions of x of  the  second  kind  of
42       orders 0, 1 and n, respectively.
43

RETURN VALUES

45       Upon  successful completion, these functions return the relevant Bessel
46       value of x of the second kind.
47
48
49       If x is NaN, a NaN is returned.
50
51
52       If x is negative, −HUGE_VAL or NaN is returned.
53
54
55       If x is 0.0, −HUGE_VAL is returned.
56
57
58       If the correct result would cause overflow, −HUGE_VAL is returned.
59
60
61       For exceptional cases, matherr(3M) tabulates the values to be  returned
62       as specified by SVID3 and XPG3.
63

ERRORS

65       No errors are returned.
66

USAGE

68       An  application  wanting to check for exceptions should call feclearex‐
69       cept(FE_ALL_EXCEPT) before  calling  these  functions.  On  return,  if
70       fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) is
71       non-zero, an exception has been raised. An  application  should  either
72       examine the return value or check the floating point exception flags to
73       detect exceptions.
74

ATTRIBUTES

76       See attributes(5) for descriptions of the following attributes:
77
78
79
80
81       ┌─────────────────────────────┬─────────────────────────────┐
82       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
83       ├─────────────────────────────┼─────────────────────────────┤
84       │Interface Stability          │See below.                   │
85       ├─────────────────────────────┼─────────────────────────────┤
86       │MT-Level                     │MT-Safe                      │
87       └─────────────────────────────┴─────────────────────────────┘
88
89
90       The y0(), y1(), and yn() functions  are  Standard.  The  y0f(),  y0l(),
91       y1f(), y1l(), ynf(), and ynl() functions are Stable.
92

SEE ALSO

94       isnan(3M),  feclearexcept(3M), fetestexcept(3M), j0(3M), math.h(3HEAD),
95       matherr(3M), attributes(5), standards(5)
96
97
98
99SunOS 5.11                        12 Jul 2006                           y0(3M)
Impressum