1 2 3 4 5 6 7
#include <math.h> #include <complex.h> double carg(double complex z) { return atan2(__imag__ z, __real__ z); }