CACOS(3)

NAME
cacos, cacosf, cacosh, cacoshf, casin, casinf casinh, casinhf catan, catanf catanh, catanhf - complex arc trigonometric and hyperbolic functions

LIBRARY
libm

SYNOPSIS
#include <complex.h>
double complex
cacos(double complex z);
float complex
cacosf(float complex z);
double complex
cacosh(double complex z);
float complex
cacoshf(float complex z);
double complex
casin(double complex z);
float complex
casinf(float complex z);
double complex
casinh(double complex z);
float complex
casinhf(float complex z);
double complex
catan(double complex z);
float complex
catanf(float complex z);
double complex
catanh(double complex z);
float complex
catanhf(float complex z);

DESCRIPTION
The cacos(), casin(), and catan() functions compute the principal value of the inverse cosine, sine, and tangent of the complex number z, respectively. The cacosh(), casinh(), and catanh() functions compute the principal value of the inverse hyperbolic cosine, sine, and tangent. The cacosf(), casinf(), catanf() cacoshf(), casinhf(), and catanhf() functions perform the same operations in float precision.

There is no universal convention for defining the principal values of these functions. The following table gives the branch cuts, and the corresponding ranges for the return values, adopted by the C language.
Function | Branch Cut(s) | Range
cacos | (-, -1) ∪ (1,) | [0,]
casin | (-, -1) ∪ (1,) | [-/2, /2]
catan | (-*I, -i) ∪ (I, *I) | [-/2, /2]
cacosh | (-, 1) | [-*I, *I]
casinh | (-*I, -i) ∪ (I, *I) | [-/2*I, /2*I]
catanh | (-, -1) ∪ (1,) | [-/2*I, /2*I]

SEE ALSO
ccos(3), ccosh(3), complex(3), cos(3), math(3), sin(3), tan(3)

STANDARDS
These functions conform to isoC-99.