fix getaddrinfo regression with AI_ADDRCONFIG on some configurations
[musl.git] / src / complex / casinhl.c
blob714f189359071e31c9da7e52f66cb17df35facc9
1 #include "libm.h"
3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double complex casinhl(long double complex z)
6 return casinh(z);
8 #else
9 long double complex casinhl(long double complex z)
11 z = casinl(CMPLXL(-cimagl(z), creall(z)));
12 return CMPLXL(cimagl(z), -creall(z));
14 #endif