| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 4, Section 3: Libraries > cctanh(3M)IA-64 only |
|
NAMEctanh(), ctanhf() — complex hyperbolic tangent functions SYNOPSIS#include <complex.h> double complex ctanh(double complex z); float complex ctanhf(float complex z); DESCRIPTIONThese functions are available only for IA-64. ctanh() returns the complex hyperbolic tangent of z. ctanhf() is a float complex version of ctanh(); 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 VALUESctanh(conj(z)) = conj(ctanh(z)) and ctanh is odd. ctanh(+0+i0) returns +0+i0. ctanh(x+iInf) returns NaN+iNaN and raises the invalid floating-point exception, for finite x. ctanh(x+iNaN) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite x. ctanh(+Inf+iy) returns 1+i0sin(2y), for positive-signed finite y. ctanh(+Inf+iInf) returns 1±i0 (where the sign of the imaginary part of the result is unspecified). ctanh(+Inf+iNaN) returns 1±i0 (where the sign of the imaginary part of the result is unspecified). ctanh(NaN+i0) returns NaN+i0. ctanh(NaN+iy) returns NaN+iNaN and optionally raises the invalid floating-point exception, for all nonzero numbers y. ctanh(NaN+iNaN) returns NaN+iNaN. |
||||||||||||||||||||||||||||
|
|||||||||||||||