Muokkaa

Jaa


cacosh, cacoshf, cacoshl

Retrieves the inverse hyperbolic cosine of a complex number with a branch cut at values less than 1 along the real axis.

Syntax

_Dcomplex cacosh(
   _Dcomplex z
);
_Fcomplex cacosh(
   _Fcomplex z
);  // C++ only
_Lcomplex cacosh(
   _Lcomplex z
);  // C++ only
_Fcomplex cacoshf(
   _Fcomplex z
);
_Lcomplex cacoshl(
   _Lcomplex z
);

Parameters

z
A complex number that represents an angle, in radians.

Return value

The inverse hyperbolic cosine of z, in radians. The result is unbounded and non-negative along the real axis, and in the interval [-iπ, +iπ] along the imaginary axis.

Remarks

Because C++ allows overloading, you can call overloads of cacosh that take and return _Fcomplex and _Lcomplex values. In a C program, cacosh always takes and returns a _Dcomplex value.

Requirements

Routine C header C++ header
cacosh, cacoshf, cacoshl <complex.h> <ccomplex>

For more compatibility information, see Compatibility.

See also

Alphabetical function reference
catanh, catanhf, catanhl
ctanh, ctanhf, ctanhl
catan, catanf, catanl
csinh, csinhf, csinhl
casinh, casinhf, casinhl
ccosh, ccoshf, ccoshl
cacos, cacosf, cacosl
ctan, ctanf, ctanl
csin, csinf, csinl
casin, casinf, casinl
ccos, ccosf, ccosl
csqrt, csqrtf, csqrtl