summaryrefslogtreecommitdiff
path: root/src/complex/cargf.c
blob: 9a6c19b638dde14964a4de1ffd4ad285eebd0b07 (plain) (blame)
1
2
3
4
5
6
#include "complex_impl.h"

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