Back to index

lightning-sunbird  0.9+nobinonly
Functions
w_j0.c File Reference
#include "fdlibm.h"

Go to the source code of this file.

Functions

double fd_j0 (double x)
double y0 (double x)

Function Documentation

double fd_j0 ( double  x)

Definition at line 61 of file w_j0.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_j0(x);
#else
       double z = __ieee754_j0(x);
       if(_LIB_VERSION == _IEEE_ || fd_isnan(x)) return z;
       if(fd_fabs(x)>X_TLOSS) {
        int err;
        return __kernel_standard(x,x,34,&err); /* j0(|x|>X_TLOSS) */
       } else
           return z;
#endif
}

Here is the call graph for this function:

double y0 ( double  x)

Definition at line 81 of file w_j0.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_y0(x);
#else
       double z;
    int err;
       z = __ieee754_y0(x);
       if(_LIB_VERSION == _IEEE_ || fd_isnan(x) ) return z;
        if(x <= 0.0){
                if(x==0.0)
                    /* d= -one/(x-x); */
                    return __kernel_standard(x,x,8,&err);
                else
                    /* d = zero/(x-x); */
                    return __kernel_standard(x,x,9,&err);
        }
       if(x>X_TLOSS) {
               return __kernel_standard(x,x,35,&err); /* y0(x>X_TLOSS) */
       } else
           return z;
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function: