ctanh(3)
Canonical URL: /ctanh.3/
CTANH(3) Library
Functions Manual CTANH(3)
NAME
ctanh, ctanhf,
ctanhl —
complex hyperbolic tangent
SYNOPSIS
/* -lm */
#include <complex.h>
double complex
ctanh(double
complex z);
float complex
ctanhf(float
complex z);
long double complex
ctanhl(long
double complex z);
DESCRIPTION
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)).
RETURN VALUES
The ctanh(),
ctanhf() and ctanhl()
functions return the complex hyperbolic tangent of
z.
SEE ALSO
STANDARDS
The ctanh(),
ctanhf() and ctanhl()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
OpenBSD 7.9 June
7, 2025 CTANH(3)
Need conceptual guidance? Continue in the OpenBSD Handbook.