Man Linux: Main Page and Category List

catan, catanf, catanl - complex arc tangents

#include<complex.h>doublecomplexcatan(doublecomplexz);floatcomplexcatanf(floatcomplexz);longdoublecomplexcatanl(longdoublecomplexz);Link with-lm.

Thecatan() function calculates the complex arc tangent ofz. Ify=catan(z), thenz=ctan(y). The real part of y is chosen in the interval [-pi/2,pi/2]. One has: catan(z) = 1 / 2i clog((1 + iz) / (1 - iz))

These functions first appeared in glibc in version 2.1.

C99.

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

This page is part of release 3.24 of the Linuxman-pagesproject. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2008-08-11 CATAN(3)