Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
#include <complex.h>
double carg(double complex z);
float cargf(float complex z);
long double cargl(long double complex z);
Function | Hex | IEEE |
---|---|---|
carg | X | X |
cargf | X | X |
cargl | X | X |
The carg() family of functions return the value of the argument in the interval [-π, +π].
For an example of a similar function see cacos(), cexp() or cpow().