Implementation status: to be implemented

Synopsis

#include <complex.h>

double carg(double complex z);
float cargf(float complex z);
long double cargl(long double complex z);

Description

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

Arguments
z - a complex number.

Return value

These functions return the value of the argument in the interval [-π, +π].

Errors

No errors are defined.