| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 4, Section 3: Libraries > cccosh(3M)IA-64 only |
|
NAMEccosh(), ccoshf() — complex hyperbolic cosine functions SYNOPSIS#include <complex.h> double complex ccosh(double complex z); float complex ccoshf(float complex z); DESCRIPTIONThese functions are available only for IA-64. ccosh() returns the complex hyperbolic cosine of z. ccoshf() is a float complex version of ccosh(); it takes a float complex argument and returns a float complex result. USAGETo use these functions, compile with the default -Ae option. Make sure your program includes <complex.h>. Link in the math library by specifying -lm on the compiler or linker command line. RETURN VALUESccosh(conj(z)) = conj(ccosh(z)) and ccosh is even. ccosh(+0+i0) returns 1+i0. ccosh(+0+iInf) returns NaN+-i0 (where the sign of the imaginary part of the result is unspecified) and raises the invalid floating-point exception. ccosh(+0+iNaN) returns NaN1i0 (where the sign of the imaginary part of the result is unspecified). ccosh(x+iInf) returns NaN+iNaN and raises the invalid floating-point exception, for finite nonzero x. ccosh(x+iNaN) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite nonzero x. ccosh(+Inf+i0) returns +Inf+i0. ccosh(+Inf+iy) returns +Inf(cos(y)+isin(y)), for finite nonzero y. ccosh(+Inf+iInf) returns ±Inf+iNaN (where the sign of the real part of the result is unspecified) and raises the invalid floating-point exception. ccosh(+Inf+iNaN) returns +Inf+iNaN. ccosh(NaN+i0) returns NaN+-i0 (where the sign of the imaginary part of the result is unspecified). ccosh(NaN+iy) returns NaN+iNaN and optionally raises the invalid floating-point exception, for all nonzero numbers y. ccosh(NaN+iNaN) returns NaN+iNaN. |
||||||||||||||||||||||||||||
|
|||||||||||||||