| CARG(3) | Library Functions Manual | CARG(3) |
carg, cargf,
cargl — complex argument
functions
Math Library (libm, -lm)
#include <complex.h>
double
carg(double
complex z);
float
cargf(float
complex z);
long double
cargl(long
double complex z);
The
carg(),
cargf()
and
cargl()
functions compute the argument (also called phase angle) of
z, with a branch cut on the negative real axis.
The carg(),
cargf() and cargl()
functions return the argument in the interval [-Pi, Pi].
The carg(),
cargf() and cargl()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
| June 7, 2025 | Debian |