complex: add C11 CMPLX macros and replace cpack with them
[musl] / src / complex / clogl.c
index 5b84ba5..18f1608 100644 (file)
@@ -13,6 +13,6 @@ long double complex clogl(long double complex z)
 
        r = cabsl(z);
        phi = cargl(z);
-       return cpackl(logl(r), phi);
+       return CMPLXL(logl(r), phi);
 }
 #endif