##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# cargf, carg, cargl

From cppreference.com
< c‎ | numeric‎ | complex

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.

### [edit] Parameters

z | - | complex argument

### [edit] Return value

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

### [edit] Example

| This section is incomplete Reason: no example

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/complex/carg&oldid=62522"
Category:

- Todo no example