Back to index

glibc  2.9
Functions | Variables
w_expl.c File Reference
#include "math.h"
#include "math_private.h"

Go to the source code of this file.

Functions

long double __expl (long double x)

Variables

static long double o_threshold = 1.135652340629414394949193107797076489134e4
static long double u_threshold = -1.140019167866942050398521670162263001513e4

Function Documentation

long double __expl ( long double  x)

Definition at line 41 of file w_expl.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_expl(x);
#else
       long double z;
       z = __ieee754_expl(x);
       if(_LIB_VERSION == _IEEE_) return z;
       if(__finitel(x)) {
           if(x>o_threshold)
               return __kernel_standard(x,x,206); /* exp overflow */
           else if(x<u_threshold)
               return __kernel_standard(x,x,207); /* exp underflow */
       }
       return z;
#endif
}

Here is the call graph for this function:


Variable Documentation

long double o_threshold = 1.135652340629414394949193107797076489134e4 [static]

Definition at line 33 of file w_expl.c.

long double u_threshold = -1.140019167866942050398521670162263001513e4 [static]

Definition at line 35 of file w_expl.c.