cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ] #include <mathcw.h> extern float sbinf (int n, float x); extern double sbin (int n, double x); extern long double sbinl (int n, long double x); extern __float80 sbinw (int n, __float80 x); extern __float128 sbinq (int n, __float128 x); extern long_long_double sbinll (int n, long_long_double x); extern decimal_float sbindf (int n, decimal_float x); extern decimal_double sbind (int n, decimal_double x); extern decimal_long_double sbindl (int n, decimal_long_double x); extern decimal_long_long_double sbindll (int n, decimal_long_long_double x);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
The modified spherical Bessel functions provided by these software implementations are defined according to Chapter 10, Bessel Functions of Fractional Order, of the Handbook of Mathematical Functions, edited by Milton Abramowitz and Irene A. Stegun, National Bureau of Standards Applied Mathematics Series #55, US Department of Commerce, Washington, DC (1964).
The i(n,x) functions grow exponentially with increasing x, and overflow even with moderate x values. For that reason, there is a related family of functions that return values of this Bessel function reduced by a factor of exp(-x); see bisn(3CW).