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





                                            
#include "libm.h"

float cargf(float complex z)
{
	return atan2f(cimagf(z), crealf(z));
}