Back to index

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

Go to the source code of this file.

Functions

float __lgammaf_r (float x, int *signgamp)

Function Documentation

float __lgammaf_r ( float  x,
int signgamp 
)

Definition at line 31 of file w_lgammaf_r.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_lgammaf_r(x,signgamp);
#else
        float y;
        y = __ieee754_lgammaf_r(x,signgamp);
        if(_LIB_VERSION == _IEEE_) return y;
        if(!__finitef(y)&&__finitef(x)) {
            if(__floorf(x)==x&&x<=(float)0.0)
               /* lgamma pole */
                return (float)__kernel_standard((double)x,(double)x,115);
            else
               /* lgamma overflow */
               return (float)__kernel_standard((double)x,(double)x,114);
        } else
            return y;
#endif
}             

Here is the call graph for this function: