cosh(3) Library Functions Manual cosh(3) cosh, coshf, coshl - (libm, -lm) #include double cosh(double x); float coshf(float x); long double coshl(long double x); glibc (. feature_test_macros(7)): coshf(), coshl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE x, : cosh(x) = (exp(x) + exp(-x)) / 2 x. x NaN, NaN. x +0 -0, -1. x , . , +HUGE_VAL, +HUGE_VALF +HUGE_VALL, . math_error(7), , . : : errno ERANGE. (FE_OVERFLOW). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |cosh(), coshf(), coshl() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. C99, POSIX.1-2001. , double, SVr4, 4.3BSD. In glibc 2.3.4 and earlier, an overflow floating-point (FE_OVERFLOW) exception is not raised when an overflow occurs. acosh(3), asinh(3), atanh(3), ccos(3), sinh(3), tanh(3) () Azamat Hackimov , Dmitriy S. Seregin , Dmitry Bolkhovskikh , Katrin Kutepova , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . cosh(3)