Mathematical Library Functions cabs(3M)
NAME
cabs, cabsf, cabsl - return a complex absolute value
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include
double cabs(double complex z);float cabsf(float complex z);
long double cabsl(long double complex z);DESCRIPTION
These functions compute the complex absolute value (also called norm, modulus, or magnitude) of z.RETURN VALUES
These functions return the complex absolute value.ERRORS
No errors are defined.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
| Standard | See standards(5). ||_____________________________|_____________________________|
SEE ALSO
complex.h(3HEAD), attributes(5), standards(5)SunOS 5.11 Last change: 12 Jul 2006 1