This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



CTANH(3)                                BSD Library Functions Manual                                CTANH(3)

NAME
     ctanh -- complex hyperbolic tangent function

SYNOPSIS
     double complex
     ctanh(double complex z);

     long double complex
     ctanhl(long double complex z);

     float complex
     ctanhf(float complex z);

DESCRIPTION
     ctanh(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).

SPECIAL VALUES
     The symmetries of ctanh() are used to abbreviate the specification of special values.

     ctanh(_ + _i) returns 0 + 0i.

     ctanh(_ + inf i) returns NaN + NaN i, and raises the invalid flag.

     ctanh(_ + NaN i) returns NaN + NaN i.

     ctanh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x.

     ctanh(x + NaN i) returns NaN + NaN i, for finite nonzero x.

     ctanh(inf + _i) returns 1 + 0i.

     ctanh(inf + yi) returns 1 +- 0i, for finite positive y, with the sign chosen to match the sign of
     sin(2y).

     ctanh(inf + inf i) returns 1 + 0i.

     ctanh(inf + NaN i) returns 1 + 0i.

     ctanh(NaN + _i) returns NaN + 0i.

     ctanh(NaN + yi) returns NaN + NaN i, for nonzero numbers y.

     ctanh(NaN + NaN i) returns NaN + NaN i.

NOTES
SEE ALSO
     ctan(3) complex(3)

STANDARDS
     The ctanh() function conforms to ISO/IEC 9899:1999(E).

4th Berkeley Distribution                     December 11, 2006                    4th Berkeley Distribution

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...