summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/complex/csinf.c
blob: 69f5164eb9982c74559dbf9b2aec8375916205f3 (plain)
1
2
3
4
5
6
7
#include "complex_impl.h"

float complex csinf(float complex z)
{
	z = csinhf(CMPLXF(-cimagf(z), crealf(z)));
	return CMPLXF(cimagf(z), -crealf(z));
}