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