summaryrefslogtreecommitdiff
path: root/src/complex/cacosf.c
blob: 11852659523a4c0ea22c44ed47eaef26f4d9c1ff (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "libm.h"

// FIXME

float complex cacosf(float complex z)
{
	z = casinf(z);
	return CMPLXF((float)M_PI_2 - crealf(z), -cimagf(z));
}