| 1 |
.\" Copyright 2002, Walter Harms <[email protected]> |
| 2 |
.\" Copyright, the authors of the Linux man-pages project |
| 3 |
.\" |
| 4 |
.\" SPDX-License-Identifier: GPL-1.0-or-later |
| 5 |
.\" |
| 6 |
.TH ccosh 3 2026-02-08 "Linux man-pages 6.18" |
| 7 |
.SH NAME |
| 8 |
ccosh, ccoshf, ccoshl \- complex hyperbolic cosine |
| 9 |
.SH LIBRARY |
| 10 |
Math library |
| 11 |
.RI ( libm ,\~ \-lm ) |
| 12 |
.SH SYNOPSIS |
| 13 |
.nf |
| 14 |
.B #include <complex.h> |
| 15 |
.P |
| 16 |
.BI "double complex ccosh(double complex " z ); |
| 17 |
.BI "float complex ccoshf(float complex " z ); |
| 18 |
.BI "long double complex ccoshl(long double complex " z ); |
| 19 |
.fi |
| 20 |
.SH DESCRIPTION |
| 21 |
These functions calculate the complex hyperbolic cosine of |
| 22 |
.IR z . |
| 23 |
.P |
| 24 |
The complex hyperbolic cosine function is defined as: |
| 25 |
.P |
| 26 |
.in +4n |
| 27 |
.EX |
| 28 |
ccosh(z) = (exp(z)+exp(\-z))/2 |
| 29 |
.EE |
| 30 |
.in |
| 31 |
.SH STANDARDS |
| 32 |
C11, POSIX.1-2008. |
| 33 |
.SH HISTORY |
| 34 |
glibc 2.1. |
| 35 |
C99, POSIX.1-2001. |
| 36 |
.SH SEE ALSO |
| 37 |
.BR cabs (3), |
| 38 |
.BR cacosh (3), |
| 39 |
.BR csinh (3), |
| 40 |
.BR ctanh (3), |
| 41 |
.BR complex (7) |