bessel(3m) — RISC
Name
j0, j1, jn, y0, y1, yn − bessel functions
Syntax
#include <math.h>
double j0(x)
double x;
double j1(x)
double x;
double jn(n,x)
double x;
double y0(x)
double x;
double y1(x)
double x;
double yn(n,x)
double x;
Description
These functions calculate bessel functions of the first and second kinds for real arguments and integer orders.
Return Value
Negative arguments cause y0, y1, and yn to return NaN. Arguments too large in magnitude cause y0, y1, and yn to return NaN.
Arguments too large in magnitude cause j0, j1, and jn to return zero.
Environment
When your program is compiled using the System V environment, nonpositive arguments cause y0, y1 and yn to return the value HUGE and to set errno to EDOM. In addition, a message indicating DOMAIN error is printed on the standard error output.
Arguments too large in magnitude cause j0, j1, y0, and y1 to return zero and to set errno to ERANGE. In addition, a message indicating TLOSS error is printed on the standard error output.
These error-handling procedures may be changed with the matherr() function.