Namespaces
Variants
Views
Actions

cargf, carg, cargl

From cppreference.com
< c‎ | numeric‎ | complex
Revision as of 19:51, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <complex.h>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
float       cargf( float complex z );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> <tr class="t-dcl ">

<td >
double      carg( double complex z );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> <tr class="t-dcl ">

<td >
long double cargl( long double complex z );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> Template:ddcl list end

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