C Programming/complex.h/cabs

Prototypes edit

double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);

Description edit

These functions compute and return the complex absolute value.