CCOSH(3) Library Functions Manual CCOSH(3)

ccoshcomplex hyperbolic cosine function

double complex
ccosh(double complex z);

long double complex
ccoshl(long double complex z);

float complex
ccoshf(float complex z);

(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).

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

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

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

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

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

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

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

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

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

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

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

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

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

ccos(3) complex(3)

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

December 11, 2006 BSD 4