1 2 3 4 5 6
#include "complex_impl.h" double carg(double complex z) { return atan2(cimag(z), creal(z)); }