Home

ccoshl(3)

ccosh(3)Library Functions Manualccosh(3)

ccosh, ccoshf, ccoshl - complex hyperbolic cosine

Math library (libm, -lm)

#include <complex.h>
double complex ccosh(double complex z);float complex ccoshf(float complex z);long double complex ccoshl(long double complex z);

These functions calculate the complex hyperbolic cosine of z.

The complex hyperbolic cosine function is defined as:


ccosh(z) = (exp(z)+exp(-z))/2

These functions were added in glibc 2.1.

C99, POSIX.1-2001, POSIX.1-2008.

cabs(3), cacosh(3), csinh(3), ctanh(3), complex(7)

2022-12-04Linux man-pages 6.03