ccosh, ccoshf, ccoshl — complex hyperbolic cosine


#include <complex.h>

double complex ccosh(double complex z);
float complex ccoshf(float complex z);
long double complex ccoshl(long double complex z);

Link with -lm.


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 first appeared in glibc in version 2.1.

Conforming to

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

See Also

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


This page is part of release 5.04 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at

Referenced By

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

The man pages ccoshf(3) and ccoshl(3) are aliases of ccosh(3).

2017-09-15 Linux Programmer's Manual