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