Everything

catanf / catan / catanl


Calculates the arc tangent of a complex number.

[Format]

#include <complex.h>

float complex catanf(float complex z);

double complex catan(double complex z);

long double complex catanl(long double complex z);

[Parameters]

z Complex number for which arc tangent is to be computed

[Return values]

Complex arc tangent of z

[Remarks]

The catan function returns the arc tangent in the range [–π/2, π/2] on the real axis and in the infinite range on the imaginary axis.