man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: July 2014
 
 

cargf(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 [ −??, +?? ].

Errors

No errors are defined.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe
Standard

See also

cimag(3M), complex.h(3HEAD), conj(3M), cproj(3M), attributes(5), standards(5)