ctanh(), ctanhf(), ctanhl() — Calculate the complex hyperbolic tangent

Standards

Standards / Extensions C or C++ Dependencies

C99
Single UNIX Specification, Version 3

both

z/OS V1R7
a compiler that is designed
to support C99

Format

#include <complex.h>

double complex ctanh(double complex z);
float complex ctanhf(float complex z);
long double complex ctanhl(long double complex z);

General description

The ctanh() family of functions compute the complex hyperbolic tangent of z.
Note: The following table shows the viable formats for these functions. See IEEE binary floating-point for more information about IEEE Binary Floating-Point.
Function Hex IEEE
ctanh X X
ctanhf X X
ctanhl X X

Returned value

The ctanh() family of functions return the complex hyperbolic tangent value.

Example

For an example of a similar function see cacos(), cexp() or cpow().

Related information