catan, catanf, or catanl Subroutine

Purpose

Computes the complex arc tangent.

Syntax

#include <complex.h>

double complex catan (z)
double complex z;

float complex catanf (z)
float complex z;

long double complex catanl (z)
long double complex z;

Description

The catan, catanf, and catanl subroutines compute the complex arc tangent of z, with branch cuts outside the interval [-i, +i] along the imaginary axis.

Parameters

Item Description
z Specifies the value to be computed.

Return Values

The catan, catanf, and catanl subroutines return the complex arc tangent value, in the range of a strip mathematically unbounded along the imaginary axis and in the interval [-pi/2, +pi/2] along the real axis.