Back to index

glibc  2.9
Functions
w_j0f.c File Reference
#include <math.h>
#include "math_private.h"

Go to the source code of this file.

Functions

float j0f (float x)
float y0f (float x)

Function Documentation

float j0f ( float  x)

Definition at line 30 of file w_j0f.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_j0f(x);
#else
       float z = __ieee754_j0f(x);
       if(_LIB_VERSION == _IEEE_ || __isnanf(x)) return z;
       if(fabsf(x)>(float)X_TLOSS) {
              /* j0f(|x|>X_TLOSS) */
               return (float)__kernel_standard((double)x,(double)x,134);
       } else
           return z;
#endif
}

Here is the call graph for this function:

float y0f ( float  x)

Definition at line 50 of file w_j0f.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_y0f(x);
#else
       float z;
       z = __ieee754_y0f(x);
       if(_LIB_VERSION == _IEEE_ || __isnanf(x) ) return z;
        if(x <= (float)0.0){
                if(x==(float)0.0)
                    /* d= -one/(x-x); */
                    return (float)__kernel_standard((double)x,(double)x,108);
                else
                    /* d = zero/(x-x); */
                    return (float)__kernel_standard((double)x,(double)x,109);
        }
       if(x>(float)X_TLOSS) {
              /* y0(x>X_TLOSS) */
               return (float)__kernel_standard((double)x,(double)x,135);
       } else
           return z;
#endif
}

Here is the call graph for this function: