# ccosh(3) [osx man page]

```CCOSH(3)						   BSD Library Functions Manual 						  CCOSH(3)

NAME
ccosh -- complex hyperbolic cosine function

SYNOPSIS
double complex
ccosh(double complex z);

long double complex
ccoshl(long double complex z);

float complex
ccoshf(float complex z);

DESCRIPTION
ccos(z) computes the hyperbolic cosine of the complex floating-point number z.

For all complex floating point numbers z,

ccosh(conj(z)) = conj(ccosh(z)),
ccosh(-z) = ccosh(z).

SPECIAL VALUES
The symmetries of ccosh() are used to abbreviate the specification of special values.

ccosh(0 + 0i) returns 1 + 0i.

ccosh(0 + inf i) returns NaN + 0i, and raises the invalid flag.

ccosh(0 + NaN i) returns NaN + 0i.

ccosh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x.

ccosh(x + NaN i) returns NaN + NaN i, for finite nonzero x.

ccosh(inf + 0i) returns inf + 0i.

ccosh(inf + yi) returns inf * cis(y), for finite positive y, where cis(y) = cos(y) + i*sin(y).

ccosh(inf + inf i) returns inf + NaN i, and raises the invalid flag.

ccosh(inf + NaN i) returns inf + NaN i.

ccosh(NaN + 0i) returns NaN + 0i.

ccosh(NaN + yi) returns NaN + NaN i, for nonzero numbers y.

ccosh(NaN + NaN i) returns NaN + NaN i.

NOTES
ccos(3) complex(3)

STANDARDS
The ccosh() function conforms to ISO/IEC 9899:2011.

4th Berkeley Distribution					 December 11, 2006					 4th Berkeley Distribution```

## Check Out this Related Man Page

```CACOSH(3)						   BSD Library Functions Manual 						 CACOSH(3)

NAME
cacosh -- complex inverse hyperbolic cosine function

SYNOPSIS
double complex
cacosh(double complex z);

long double complex
cacoshl(long double complex z);

float complex
cacoshf(float complex z);

DESCRIPTION
cacosh(z) computes the inverse hyperbolic cosine of the complex floating-point number z, with a branch cut on the interval [-inf, 1] along
the real axis.

cacosh() returns values in a half-strip of the complex plane with positive real part and imaginary part in the interval [-Pi, Pi].

For all complex floating point numbers z, cacosh(conj(z)) = conj(cacosh(z)).

SPECIAL VALUES
The conjugate symmetry of cacosh() is used to abbreviate the specification of special values.

cacosh(+-0 + 0i) returns 0 + Pi/2 i.

cacosh(x + inf i) returns inf + Pi/2 i, for finite x.

cacosh(x + NaN i) returns NaN + NaN i, for finite nonzero x.

cacosh(-inf + yi) returns inf + Pi i, for finite positive-signed y.

cacosh(inf + yi) returns inf + 0i, for finite positive-signed y.

cacosh(-inf + inf i) returns inf + 3Pi/4 i.

cacosh(inf + inf i) returns inf + Pi/4 i.

cacosh(+-inf + NaN i) returns inf + NaN i.

cacosh(NaN + yi) returns NaN + NaN i, for finite y.

cacosh(NaN + inf i) returns inf + NaN i.

cacosh(NaN + NaN i) returns NaN + NaN i.

NOTES