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

float complex casinhf(float complex z)
{
	z = casinf(CMPLXF(-cimagf(z), crealf(z)));
	return CMPLXF(cimagf(z), -crealf(z));
}