SYNOPSIS
#include <math.h>
double y0(double x)
float y0f(float x)
double y1(double x)
float y1f(float x)
double yn(int n, double x)
float ynf(int n, float x)
DESCRIPTION
The functions
PARAMETER
RETURN VALUES
If successful, these functions return the Bessel value of x.
If x is NaN or negative, NaN is returned.
If x is 0.0, then:
-
In IEEE mode, -HUGE_VAL is returned.
-
In POSIX mode, -HUGE_VAL is returned and errno is set to EDOM.
-
In SVID mode, -HUGE is returned and
matherr() is called. -
In XOPEN mode, -HUGE_VAL is returned and the
matherr() function is called.
If x is a negative number, then:
-
In IEEE mode, NaN is returned.
-
In POSIX mode, -HUGE_VAL is returned and errno is set to EDOM.
-
In SVID mode, -HUGE is returned and
matherr() is called. -
In XOPEN mode, -HUGE_VAL is returned and the
matherr() function is called.
If the result underflows, 0.0 is returned and if in POSIX mode,
errno is set to ERANGE. If in XOPEN or SVID mode,
the
If x is greater than X_TLOSS, then:
-
In IEEE mode, the correct answer is returned.
-
In POSIX mode, 0.0 is returned, and errno is set to ERANGE.
-
In SVID or XOPEN mode, 0.0 is returned the
matherr() function is called.
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.