CABS(3M) | Mathematical Library Functions | CABS(3M) |
cabs, cabsf, cabsl - return a complex absolute value
c99 [ flag... ] file... -lm [ library... ] #include <complex.h> double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);
These functions compute the complex absolute value (also called norm, modulus, or magnitude) of z.
These functions return the complex absolute value.
No errors are defined.
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
MT-Level | MT-Safe |
July 12, 2006 | SunOS 5.11 |