ccosh(), ccoshf(), ccoshl() — Calculate the complex hyperbolic cosine

Standards

Standards / Extensions C or C++ Dependencies
C99
Single UNIX Specification, Version 3
both
z/OS® V1R7 a compiler that is designed  to support C99

Format

#define _ISOC99_SOURCE
#include <complex.h>

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

General description

The ccosh() family of functions compute the complex hyperbolic cosine of z.
Note: The following table shows the viable formats for these functions. See IEEE binary floating-point for more information about IEEE Binary Floating-Point.
Function Hex IEEE
ccosh X X
ccoshf X X
ccoshl X X

Returned value

The ccosh() family of functions return the complex hyperbolic cosine value.

Example

For an example of a similar function see cacos(), cexp() or cpow().

Related information