summaryrefslogtreecommitdiff
path: root/src/complex/casinhl.c
blob: 68ba3ddfce16b0aaea18c9383beb4c0366f28f29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "complex_impl.h"

#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double complex casinhl(long double complex z)
{
	return casinh(z);
}
#else
long double complex casinhl(long double complex z)
{
	z = casinl(CMPLXL(-cimagl(z), creall(z)));
	return CMPLXL(cimagl(z), -creall(z));
}
#endif