ccosh(3)
Canonical URL: /ccosh.3/
CCOSH(3) Library
Functions Manual CCOSH(3)
NAME
ccosh, ccoshf,
ccoshl —
complex hyperbolic cosine
SYNOPSIS
/* -lm */
#include <complex.h>
double complex
ccosh(double
complex z);
float complex
ccoshf(float
complex z);
long double complex
ccoshl(long
double complex z);
DESCRIPTION
The
ccosh(),
ccoshf()
and
ccoshl()
functions compute the complex hyperbolic cosine of
z.
If z = x + iy, then
ccosh(z) = cosh(x) cos(y) + i sinh(x) sin(y).
RETURN VALUES
The ccosh(),
ccoshf() and ccoshl()
functions return the complex hyperbolic cosine of
z.
SEE ALSO
STANDARDS
The ccosh(),
ccoshf() and ccoshl()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
OpenBSD 7.9 June
7, 2025 CCOSH(3)
Need conceptual guidance? Continue in the OpenBSD Handbook.