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

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