7.3.9.1 The carg functions
Synopsis
#include <complex.h>
double carg(double complex z);
float cargf(float complex z);
long double cargl(long double complex z);
Description
The carg functions compute the argument (also called phase angle) of z, with a branch cut along the negative real axis.
Returns
The carg functions return the value of the argument in the interval [-pi , +pi ].