catanh, catanhf, or catanhl Subroutine

Purpose

Computes the complex arc hyperbolic tangent.

Syntax

#include <complex.h>

double complex catanh (z)
double complex z;

float complex catanhf (z)
float complex z;

long double complex catanhl (z)
long double complex z;

Description

The catanh, catanhf, and catanhl subroutines compute the complex arc hyperbolic tangent of z, with branch cuts outside the interval [-1, +1] along the real axis.

Parameters

Item Description
z Specifies the value to be computed.

Return Values

The catanh, catanhf, and catanhl subroutines return the complex arc hyperbolic tangent value, in the range of a strip mathematically unbounded along the real axis and in the interval [-i pi/2, +i pi/2] along the imaginary axis.