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

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