bessel(3M)
NAME
bessel, j0, j1, jn, y0, y1, yn − Bessel functions
SYNOPSIS
#include <math.h>
double j0(double x);
double j1(double x);
double jn(int n, double x);
double y0(double x);
double y1(double x);
double yn(int n, double x);
MT-LEVEL
MT-Safe with exceptions
DESCRIPTION
These functions calculate Bessel functions of the first and second kinds for real arguments and integer orders.
RETURN VALUES
For exceptional cases, matherr(3M) tabulates the values to be returned as dictated by various Standards.
SEE ALSO
DIAGNOSTICS
In IEEE754 mode (i.e. the −xlibmieee cc compilation option), the functions y0(), y1(), and yn() have logarithmic singularities at the origin, so they treat zero and negative arguments the way log() does, as described in exp(3M). Such arguments are unexceptional for j0(), j1(), and jn().
NOTES
These functions are MT-Safe when compiled with the shared library, libm.so, but are Unsafe if compiled with the archived library libm.a.
SunOS 5.1/x86 — Last change: 5 Mar 1993