Back to index

glibc  2.9
Functions
w_jn.c File Reference
#include <math.h>
#include "math_private.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double jn (int n, double x)
double yn (int n, double x)

Function Documentation

double jn ( int  n,
double  x 
)

Definition at line 49 of file w_jn.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_jn(n,x);
#else
       double z;
       z = __ieee754_jn(n,x);
       if(_LIB_VERSION == _IEEE_ || __isnan(x) ) return z;
       if(fabs(x)>X_TLOSS) {
           return __kernel_standard((double)n,x,38); /* jn(|x|>X_TLOSS,n) */
       } else
           return z;
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

double yn ( int  n,
double  x 
)

Definition at line 73 of file w_jn.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_yn(n,x);
#else
       double z;
       z = __ieee754_yn(n,x);
       if(_LIB_VERSION == _IEEE_ || __isnan(x) ) return z;
        if(x <= 0.0){
                if(x==0.0)
                    /* d= -one/(x-x); */
                    return __kernel_standard((double)n,x,12);
                else
                    /* d = zero/(x-x); */
                    return __kernel_standard((double)n,x,13);
        }
       if(x>X_TLOSS) {
           return __kernel_standard((double)n,x,39); /* yn(x>X_TLOSS,n) */
       } else
           return z;
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function: