| CTANH(3) | Library Functions Manual | CTANH(3) |
ctanh, ctanhf,
ctanhl — complex hyperbolic
tangent
Math Library (libm, -lm)
#include <complex.h>
double complex
ctanh(double
complex z);
float complex
ctanhf(float
complex z);
long double complex
ctanhl(long
double complex z);
The
ctanh(),
ctanhf()
and
ctanhl()
functions compute the complex hyperbolic tangent of
z.
If z = x + iy, then
ctanh(z) = (sinh(2x) + i sin(2y)) / (cosh(2x) + cos(2y)).
The ctanh(),
ctanhf() and ctanhl()
functions return the complex hyperbolic tangent of
z.
The ctanh(),
ctanhf() and ctanhl()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
| June 7, 2025 | Debian |