summaryrefslogblamecommitdiff
path: root/src/complex/casinhl.c
blob: e5d80cef8a3f19665543c822fcebdb9eaad66120 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                  
#include "libm.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(cpackl(-cimagl(z), creall(z)));
	return cpackl(cimagl(z), -creall(z));
}
#endif