Namespaces
Variants
Views
Actions

cargf, carg, cargl

From cppreference.com
< c | numeric | complex
Revision as of 20:51, 2 November 2012 by P12bot (Talk | contribs)
Defined in header <complex.h>
float       cargf( float complex z );
(since C99)
double      carg( double complex z );
(since C99)
long double cargl( long double complex z );
(since C99)

Computes the argument (also called phase angle) of z, with a branch cut along the negative real axis.

Parameters

z - complex argument

Return value

The argument of z in the interval (−π; π).

Example