CTANH 3CW "11 August 2009" "mathcw-1.00"

Table of contents


NAME

ctanhf, ctanh, ctanhl, ctanhw, ctanhq, ctanhll, ctanhdf, ctanhd, ctanhdl, ctanhdll - complex hyperbolic tangent function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

#include <complexcw.h>

extern float complex ctanhf (float complex z);

extern double complex ctanh (double complex z);

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

extern __float80 complex ctanhw (__float80 complex z);

extern __float128 complex ctanhq (__float128 complex z);

extern long_long_double complex ctanhll (long_long_double complex z);

extern decimal_float complex ctanhdf (decimal_float complex z);

extern decimal_double complex ctanhd (decimal_double complex z);

extern decimal_long_double complex ctanhdl (decimal_long_double complex z);

extern decimal_long_long_double complex ctanhdll (decimal_long_long_double complex z);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the principal value of the complex hyperbolic tangent function.

The value of the complex argument z is unrestricted.

For finite real-valued arguments, the real function range is [-1,+1].

When compiler support for complex types is lacking, consider using the cx family of functions instead.


BRANCH CUTS

To be written.

RETURN VALUES

For in-range real arguments, the returned value is in the range [-1,+1]. For finite complex arguments, the returned value is complex and finite. For infinite arguments, at least one component of the returned value is Infinity. Otherwise, for NaN arguments, at least one component of the returned value is a quiet NaN.

ERRORS

For out-of-range, Infinity and NaN arguments, the returned value is a quiet NaN, and errno is set to EDOM.

SEE ALSO

cacosh(3CW), casinh(3CW), catanh(3CW), ccosh(3CW), csinh(3CW).