ccosh, ccoshf, ccoshl

Retrieves the hyperbolic cosine of a complex number.

Syntax

_Dcomplex ccosh(
   _Dcomplex z
);
_Fcomplex ccosh(
   _Fcomplex z
);  // C++ only
_Lcomplex ccosh(
   _Lcomplex z
);  // C++ only
_Fcomplex ccoshf(
   _Fcomplex z
);
_Lcomplex ccoshl(
   _Lcomplex z
);

Parameters

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

Return value

The hyperbolic cosine of z, in radians.

Remarks

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

Requirements

Routine C header C++ header
ccosh, ccoshf, ccoshl <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
cacosh, cacoshf, cacoshl
cacos, cacosf, cacosl
ctan, ctanf, ctanl
csin, csinf, csinl
casin, casinf, casinl
ccos, ccosf, ccosl
csqrt, csqrtf, csqrtl