7.3.8.1 The cabs functions
Synopsis
#include <complex.h>
double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);
Description
The cabs functions compute the complex absolute value (also called norm, modulus, or magnitude) of z.
Returns
The cabs functions return the complex absolute value.