1CATAN(3)                   Linux Programmer's Manual                  CATAN(3)
2
3
4

NAME

6       catan, catanf, catanl - complex arc tangents
7

SYNOPSIS

9       #include <complex.h>
10
11       double complex catan(double complex z);
12       float complex catanf(float complex z);
13       long double complex catanl(long double complex z);
14
15       Link with -lm.
16

DESCRIPTION

18       The  catan()  function  calculates  the  complex  arc tangent of z.  If
19       y = catan(z), then z = ctan(y).  The real part of y is  chosen  in  the
20       interval [-pi/2,pi/2].
21
22       One has:
23
24           catan(z) = 1 / 2i clog((1 + iz) / (1 - iz))
25

VERSIONS

27       These functions first appeared in glibc in version 2.1.
28

CONFORMING TO

30       C99.
31

SEE ALSO

33       ccos(3), clog(3), complex(7)
34

COLOPHON

36       This  page  is  part of release 3.22 of the Linux man-pages project.  A
37       description of the project, and information about reporting  bugs,  can
38       be found at http://www.kernel.org/doc/man-pages/.
39
40
41
42                                  2008-08-11                          CATAN(3)
Impressum