summaryrefslogblamecommitdiff
path: root/src/complex/clogf.c
blob: f3aec54d1e11cea9e4783a3194eed908231fbb88 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                    
#include "libm.h"

// FIXME

float complex clogf(float complex z)
{
	float r, phi;

	r = cabsf(z);
	phi = cargf(z);
	return cpackf(logf(r), phi);
}