12345678910111213141516171819202122232425262728293031323334353637 |
- #include <math.h>
- #include "math_private.h"
- double
- atanh (double x)
- {
- #if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (isgreaterequal (fabs (x), 1.0), 0)
- && _LIB_VERSION != _IEEE_)
- return __kernel_standard (x, x,
- fabs (x) > 1.0
- ? 30
- : 31);
- #endif
- return __ieee754_atanh (x);
- }
- libm_hidden_def(atanh)
|