fix possible fd leak, unrestored cancellation state on dns socket fail
[musl.git] / src / complex / ccosl.c
blobd787047fec8d5a8df1234f393cd2b8f1a683092b
1 #include "libm.h"
3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double complex ccosl(long double complex z)
6 return ccos(z);
8 #else
9 long double complex ccosl(long double complex z)
11 return ccoshl(CMPLXL(-cimagl(z), creall(z)));
13 #endif