summaryrefslogtreecommitdiff
path: root/src/complex/csinf.c
blob: 60b3cbaa8681ad3d5f31e40d4a86db764a053227 (plain) (blame)
1
2
3
4
5
6
7
#include "libm.h"

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