CACOSH(3) Library Functions Manual CACOSH(3)

cacoshcomplex inverse hyperbolic cosine function

double complex
cacosh(double complex z);

long double complex
cacoshl(long double complex z);

float complex
cacoshf(float complex z);

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

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

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

(±0 + 0i) returns 0 + Pi/2 i.

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

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

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

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

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

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

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

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

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

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

ccosh(3) complex(3)

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

December 11, 2006 BSD 4