complex: add C11 CMPLX macros and replace cpack with them
[musl] / src / complex / cacosl.c
index 5992e05..7fd4a2f 100644 (file)
@@ -11,6 +11,6 @@ long double complex cacosl(long double complex z)
 long double complex cacosl(long double complex z)
 {
        z = casinl(z);
-       return cpackl(PI_2 - creall(z), -cimagl(z));
+       return CMPLXL(PI_2 - creall(z), -cimagl(z));
 }
 #endif