CABS(3) BSD Library Functions Manual CABS(3)NAMEcabs — complex absolute value function
SYNOPSIS
#include <math.h>
struct {double x, y;} z;
double
cabs(z);
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 ALSOhypot(3), math(3), sqrt(3), cabsf
STANDARDS
The cabs() function conforms to ISO/IEC 9899:1999(E).
4th Berkeley Distribution January 28, 2003 4th Berkeley Distribution