Back to index

glibc  2.9
Functions | Variables
w_exp2l.c File Reference
#include <float.h>
#include <math.h>
#include "math_private.h"

Go to the source code of this file.


long double __exp2l (long double x)


static const long double o_threshold = (long double) LDBL_MAX_EXP
static const long double u_threshold = (long double) (LDBL_MIN_EXP - LDBL_MANT_DIG - 1)

Function Documentation

long double __exp2l ( long double  x)

Definition at line 14 of file w_exp2l.c.

#ifdef _IEEE_LIBM
  return __ieee754_exp2l (x);
  long double z;
  z = __ieee754_exp2l (x);
  if (_LIB_VERSION != _IEEE_ && __finitel (x))
      if (x > o_threshold)
       return __kernel_standard (x, x, 244); /* exp2l overflow */
      else if (x <= u_threshold)
       return __kernel_standard (x, x, 245); /* exp2l underflow */
  return z;

Here is the call graph for this function:

Variable Documentation

const long double o_threshold = (long double) LDBL_MAX_EXP [static]

Definition at line 9 of file w_exp2l.c.

const long double u_threshold = (long double) (LDBL_MIN_EXP - LDBL_MANT_DIG - 1) [static]

Definition at line 11 of file w_exp2l.c.