NAME
ccttaannhh - complex hyperbolic tangent function
SYNOPSIS
double complex ccttaannhh(double complex z); long double complex ccttaannhhll(long double complex z); float complex ccttaannhhff(float complex z);DESCRIPTION
ccttaannhh(z) computes the hyperbolic tangent of the complex floating-point
number z. For all complex floating point numbers z, ctanh(conj(z)) = conj(ctanh(z)),ctanh(-z) = -ctanh(z).
SSPPEECCIIAALL VVAALLUUEESS The symmetries of ctanh() are used to abbreviate the specification of special values. ccttaannhh(0 + 0i) returns 0 + 0i. ccttaannhh(0 + inf i) returns NaN + NaN i, and raises the invalid flag. ccttaannhh(0 + NaN i) returns NaN + NaN i. ccttaannhh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x. ccttaannhh(x + NaN i) returns NaN + NaN i, for finite nonzero x. ccttaannhh(inf + 0i) returns 1 + 0i.ccttaannhh(inf + yi) returns 1 +- 0i, for finite positive y, with the sign
chosen to match the sign of sin(2y). ccttaannhh(inf + inf i) returns 1 + 0i. ccttaannhh(inf + NaN i) returns 1 + 0i. ccttaannhh(NaN + 0i) returns NaN + 0i. ccttaannhh(NaN + yi) returns NaN + NaN i, for nonzero numbers y. ccttaannhh(NaN + NaN i) returns NaN + NaN i. NNOOTTEESSSEE ALSO
ctan(3) complex(3) STANDARDS The ccttaannhh() function conforms to ISO/IEC 9899:1999(E). 4th Berkeley Distribution November 9, 2006 4th Berkeley Distribution