CABS(3M) Mathematical Library Functions CABS(3M)

NAME


cabs, cabsf, cabsl - return a complex absolute value

SYNOPSIS


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);


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(7) for descriptions of the following attributes:


+----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------------+-----------------------------+
|Interface Stability | Standard |
+----------------------------+-----------------------------+
|MT-Level | MT-Safe |
+----------------------------+-----------------------------+

SEE ALSO


complex.h(3HEAD), attributes(7), standards(7)

SunOS 5.11 July 12, 2006 CABS(3M)

tribblix@gmail.com :: GitHub :: Privacy