Mathematical Library Functions carg(3M)
NAME
carg, cargf, cargl - complex argument functions
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include
double carg(double complex z);float cargf(float complex z);
long double cargl(long double complex z);DESCRIPTION
These functions compute the argument (also called phase angle) of z, with a branch cut along the negative real axis.RETURN VALUES
These functions return the value of the argument in theinterval [ -pi, +pi ].
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
cimag(3M), complex.h(3HEAD), conj(3M), cproj(3M), attri-
butes(5), standards(5)SunOS 5.11 Last change: 12 Jul 2006 1