ctanh, ctanhf, or ctanhl Subroutine

Purpose

Computes the complex hyperbolic tangent.

Syntax

#include <complex.h>

double complex ctanh (z)
double complex z;

float complex ctanhf (z)
float complex z;

long double complex ctanhl (z)
long double complex z;

Description

The ctanh, ctanhf, and ctanhl subroutines compute the complex hyperbolic tangent of z.

Parameters

Item Description
z Specifies the value to be computed.

Return Values

The ctanh, ctanhf, and ctanhl subroutines return the complex hyperbolic tangent value.