Back to index

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

Go to the source code of this file.

Functions

float jnf (int n, float x)
float ynf (int n, float x)

Function Documentation

float jnf ( int  n,
float  x 
)

Definition at line 26 of file w_jnf.c.

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

Here is the call graph for this function:

float ynf ( int  n,
float  x 
)

Definition at line 47 of file w_jnf.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_ynf(n,x);
#else
       float z;
       z = __ieee754_ynf(n,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)n,(double)x,112);
                else
                    /* d = zero/(x-x); */
                    return (float)__kernel_standard((double)n,(double)x,113);
        }
       if(x>(float)X_TLOSS) {
           /* yn(x>X_TLOSS,n) */
           return (float)__kernel_standard((double)n,(double)x,139);
       } else
           return z;
#endif
}

Here is the call graph for this function: