| CCOSH(3) | Library Functions Manual | CCOSH(3) |
ccosh — complex
hyperbolic cosine function
double complex
ccosh(double
complex z);
long double complex
ccoshl(long
double complex z);
float complex
ccoshf(float
complex z);
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).
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.
The ccosh() function conforms to ISO/IEC
9899:2011.
| December 11, 2006 | BSD 4 |