cabsf, cabs, cabsl

From cppreference.com
Defined in header <complex.h>
float       cabsf( float complex z );
(since C99)
double      cabs( double complex z );
(since C99)
long double cabsl( long double complex z );
(since C99)

Computes the complex absolute value of z.

[edit] Parameters

z - complex argument

[edit] Return value

The complex absolute value of z.

[edit] Example