CARG(3M) Mathematical Library Functions CARG(3M)

NAME


carg, cargf, cargl - complex argument functions

SYNOPSIS


c99 [ flag... ] file... -lm [ library... ]
#include <complex.h>

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 the interval [
-pi, +pi ].

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), cimag(3M), conj(3M), cproj(3M), attributes(7),
standards(7)

SunOS 5.11 July 12, 2006 CARG(3M)

tribblix@gmail.com :: GitHub :: Privacy