CTANH(3) Library Functions Manual CTANH(3)

ctanh, ctanhf, ctanhlcomplex hyperbolic tangent

#include <complex.h>

double complex
ctanh(double complex z);

float complex
ctanhf(float complex z);

long double complex
ctanhl(long double complex z);

The (), () and () 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.

ccosh(3), csinh(3)

The ctanh(), ctanhf() and ctanhl() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

June 5, 2013 OpenBSD 7.6