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

float complex ccosf(float complex z)
{
	return ccoshf(CMPLXF(-cimagf(z), crealf(z)));
}