math: move complex math out of libm.h
[musl.git] / src / complex / cacoshl.c
blobd3eaee204f6d51a13c8932e0e2e68fe708536b78
1 #include "complex_impl.h"
3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double complex cacoshl(long double complex z)
6 return cacosh(z);
8 #else
9 long double complex cacoshl(long double complex z)
11 z = cacosl(z);
12 return CMPLXL(-cimagl(z), creall(z));
14 #endif