Everything

cargf / carg / cargl


Calculates the argument.

[Format]

#include <complex.h>

float cargf(float complex z);

double carg(double complex z);

long double cargl(long double complex z);

[Parameters]

z Complex number for which the argument is to be computed

[Return values]

Argument value of z

[Remarks]

The branch cut for the carg function group is along the negative real axis.

The carg function group returns the argument in the range [–π, +π].