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 || /* Since 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 . (overflow) +HUGE_VAL +HUGE_VALF +HUGE_VALL . math_error(7) . : : errno ERANGE. (FE_OVERFLOW). attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |cosh(), | | MT-Safe | |coshf(), | | | |coshl() | | | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. C99 POSIX.1-2001. double SVr4 4.3BSD. glibc 2.3.4 (FE_OVERFLOW) . acosh(3), asinh(3), atanh(3), ccos(3), sinh(3), tanh(3) 3 . . : . 6.18 8 2026 cosh(3)