Back to index

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

Go to the source code of this file.


long double __ieee754_atanhl (long double x)


static long double one = 1.0
static long double huge = 1e4900L
static double long zero = 0.0

Function Documentation

long double __ieee754_atanhl ( long double  x)

Definition at line 57 of file e_atanhl.c.

       long double t;
       int32_t ix;
       u_int32_t se,i0,i1;
       ix = se&0x7fff;
       if ((ix+((((i0&0x7fffffff)|i1)|(-((i0&0x7fffffff)|i1)))>>31))>0x3fff)
         /* |x|>1 */
           return (x-x)/(x-x);
           return x/zero;
       if(ix<0x3fe3&&(huge+x)>zero) return x;    /* x<2**-28 */
       if(ix<0x3ffe) {             /* x < 0.5 */
           t = x+x;
           t = 0.5*__log1pl(t+t*x/(one-x));
       } else
           t = 0.5*__log1pl((x+x)/(one-x));
       if(se<=0x7fff) return t; else return -t;

Here is the call graph for this function:

Variable Documentation

long double huge = 1e4900L [static]

Definition at line 45 of file e_atanhl.c.

long double one = 1.0 [static]

Definition at line 45 of file e_atanhl.c.

double long zero = 0.0 [static]

Definition at line 51 of file e_atanhl.c.