summaryrefslogtreecommitdiff
path: root/src/complex/cacosf.c
blob: 563766e7eac5791ad10b3ac991f604aa21c153f7 (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 cpackf((float)M_PI_2 - crealf(z), -cimagf(z));
}