CABS(3)

NAME
cabs - complex absolute value function

SYNOPSIS
#include <complex.h>
double
cabs(complex);
long double
cabsl(long double complex);
float
cabsf(float complex);

DESCRIPTION
The cabs() function computes the complex absolute value (also called norm, modulus, or magnitude) of z, without undue underflow or overflow. It is specified by cabs(x+iy) = hypot(x, y)

SEE ALSO
hypot(3), math(3), sqrt(3)

STANDARDS
The cabs() function conforms to ISO/IEC 9899:1999(E).