atanh(3) Library Functions Manual atanh(3) atanh, atanhf, atanhl - LIBRARY Math library (libm, -lm) #include double atanh(double x); float atanhf(float x); long double atanhl(long double x); glibc (. feature_test_macros(7)): atanh(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 500 || /* glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE atanhf(), atanhl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE x; x. x. x NaN, NaN. x +0 (-0), +0 (-0). x +1 -1, , HUGE_VAL, HUGE_VALF HUGE_VALL, , . x 1, , NaN. math_error(7), , . : : x -1 +1 errno EDOM. (FE_INVALID). : x +1 -1 errno ERANGE ( ). (FE_DIVBYZERO). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |atanh(), atanhf(), atanhl() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. C99, POSIX.1-2001. , double, SVr4, 4.3BSD. In glibc 2.9 and earlier, when a pole error occurs, errno is set to EDOM instead of the POSIX-mandated ERANGE. Since glibc 2.10, glibc does the right thing. . acosh(3), asinh(3), catanh(3), cosh(3), sinh(3), tanh(3) Dmitry Bolkhovskikh Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . atanh(3)