Next: cacosh
, cacoshf
—complex arc hyperbolic cosine, Previous: cabs
, cabsf
, cabsl
—complex absolute-value, Up: Mathematical Complex Functions (complex.h) [Contents][Index]
cacos
, cacosf
—complex arc cosineSynopsis
#include <complex.h> double complex cacos(double complex z); float complex cacosf(float complex z);
Description
These functions compute the complex arc cosine of z,
with branch cuts outside the interval [-1, +1] along the real axis.
cacosf
is identical to cacos
, except that it performs
its calculations on floats complex
.
Returns
These functions return the complex arc cosine value, in the range
of a strip mathematically unbounded along the imaginary axis
and in the interval [0, pi] along the real axis.
Portability
cacos
and cacosf
are ISO C99