OSDN Git Service

e396021892c183f1a1e1680caef8c4c12087d914
[linuxjm/LDP_man-pages.git] / original / man3 / catanh.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\"
4 .TH CATANH 3 2008-08-11 "" "Linux Programmer's Manual"
5 .SH NAME
6 catanh, catanhf, catanhl \- complex arc tangents hyperbolic
7 .SH SYNOPSIS
8 .B #include <complex.h>
9 .sp
10 .BI "double complex catanh(double complex " z );
11 .br
12 .BI "float complex catanhf(float complex " z );
13 .br
14 .BI "long double complex catanhl(long double complex " z );
15 .sp
16 Link with \fI\-lm\fP.
17 .SH DESCRIPTION
18 The
19 .BR catanh ()
20 function calculates the complex arc hyperbolic tangent of
21 .IR z .
22 If \fIy\ =\ catanh(z)\fP, then \fIz\ =\ ctanh(y)\fP.
23 The imaginary part of
24 .I y
25 is chosen in the interval [\-pi/2,pi/2].
26 .LP
27 One has:
28 .nf
29
30     catanh(z) = 0.5 * clog((1 + z) / (1 \- z))
31 .fi
32 .SH VERSIONS
33 These functions first appeared in glibc in version 2.1.
34 .SH "CONFORMING TO"
35 C99.
36 .SH "SEE ALSO"
37 .BR atanh (3),
38 .BR cabs (3),
39 .BR cimag (3),
40 .BR complex (7)