| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 4, Section 3: Libraries > ccacosh(3M)IA-64 only |
|
NAMEcacosh(), cacoshf() — complex arc hyperbolic cosine functions SYNOPSIS#include <complex.h> double complex cacosh(double complex z); float complex cacoshf(float complex z); DESCRIPTIONThese functions are available only for IA-64. cacosh() returns the complex arc hyperbolic cosine of z, in the range of a half-strip of non-negative values along the real axis and in the interval [-iPi,iPi] along the imaginary axis. There is a branch cut at values less than 1 along the real axis. cacoshf() is a float complex version of cacosh(); 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 VALUEScacosh(conj(z)) = conj(cacosh(z)) cacosh(±0+i0) returns +0+iPi/2. cacosh(x+iInf) returns +Inf+iPi/2, for finite x. cacosh(x+iNaN) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite x. cacosh(-Inf+iy) returns +Inf+iPi, for positive-signed finite y. cacosh(+Inf+iy) returns +Inf+i0, for positive-signed finite y. cacosh(-Inf+iInf) returns +Inf+i3Pi/4. cacosh(+Inf+iInf) returns +Inf+iPi/4. cacosh(±Inf+iNaN) returns +Inf+iNaN. cacosh(NaN+iy) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite y. cacosh(NaN+iInf) returns +Inf+iNaN. cacosh(NaN+iNaN) returns NaN+iNaN. |
||||||||||||||||||||||||||||
|
|||||||||||||||