summaryrefslogblamecommitdiff
path: root/src/complex/carg.c
blob: d2d1b4623a7fc77b2d413c363fd2ccef8d892939 (plain) (tree)
1
2
3
4
5
6





                                         
#include "libm.h"

double carg(double complex z)
{
	return atan2(cimag(z), creal(z));
}