carg
Calculate the argument
Interface
#include <complex.h>
double | carg (double complex z) |
float | cargf (float complex z) |
long double | cargl (long double complex z) |
Description
A complex number can be described by two real coordinates, either:- using rectangular coordinates, such that , where x = creal(z) and y = cimag(z).
- or using polar coordinates: