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

SEE ALSO
ccos(3) complex(3)

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