y0, y0f

Home
Developer Resources
PDF Documents
Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

y0(), y0f()

Compute a Bessel function of the second kind

Synopsis:

#include <math.h>

double y0( double x );

float y0f( float x );

Arguments:

x
The number that you want to compute the Bessel function for.

Library:

libbessel

Use the -l bessel option to qcc to link against this library.

Description:

Compute the Bessel function of the second kind for x.

Returns:

The result of the Bessel function of x.


Note: If an error occurs, these functions return 0, but this is also a valid mathematical result. If you want to check for errors, set errno to 0, call the function, and then check errno again. These functions don't change errno if no errors occurred.

Classification:

y0() is POSIX 1003.1 XSI; y0f() is Unix

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

errno, j0(), j1(), jn(), y1(), yn()