DragonFly On-Line Manual Pages

CARG(3) 	      DragonFly Library Functions Manual	       CARG(3)

NAME

carg, cargf, cargl -- complex argument functions

SYNOPSIS

#include <complex.h> double carg(double complex z); float cargf(float complex z); long double cargl(long double complex z);

DESCRIPTION

The carg(), cargf() and cargl() functions compute the argument (also called phase angle) of z, with a branch cut on the negative real axis.

RETURN VALUES

The carg(), cargf() and cargl() functions return the argument in the interval [-Pi, Pi].

SEE ALSO

cimag(3)

STANDARDS

The carg(), cargf() and cargl() functions conform to ISO/IEC 9899:1999 (``ISO C99''). DragonFly 4.3 June 5, 2013 DragonFly 4.3