select: overhaul for time64
[musl.git] / src / complex / ctanl.c
blob4b87420d8ac18264e1f454c782d08d592f791669
1 #include "complex_impl.h"
3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double complex ctanl(long double complex z)
6 return ctan(z);
8 #else
9 long double complex ctanl(long double complex z)
11 z = ctanhl(CMPLXL(-cimagl(z), creall(z)));
12 return CMPLXL(cimagl(z), -creall(z));
14 #endif