Back to index

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

Go to the source code of this file.

Functions

float __atanhf (float x)

Function Documentation

float __atanhf ( float  x)

Definition at line 31 of file w_atanhf.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_atanhf(x);
#else
       float z,y;
       z = __ieee754_atanhf(x);
       if(_LIB_VERSION == _IEEE_ || __isnanf(x)) return z;
       y = fabsf(x);
       if(y>=(float)1.0) {
           if(y>(float)1.0)
               /* atanhf(|x|>1) */
               return (float)__kernel_standard((double)x,(double)x,130);
           else 
               /* atanhf(|x|==1) */
               return (float)__kernel_standard((double)x,(double)x,131);
       } else
           return z;
#endif
}

Here is the call graph for this function: