X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fcomplex%2Fccos.c;h=f32e1fadfbf3439f0d804013f2235bf4bf2497a0;hb=0847902ab99065a48f9bd3729b6e676288dfd69e;hp=5754c23828e6194b796a004a1709f3d04de97342;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd;p=musl diff --git a/src/complex/ccos.c b/src/complex/ccos.c index 5754c238..f32e1fad 100644 --- a/src/complex/ccos.c +++ b/src/complex/ccos.c @@ -1,8 +1,8 @@ -#include "libm.h" +#include "complex_impl.h" /* cos(z) = cosh(i z) */ double complex ccos(double complex z) { - return ccosh(cpack(-cimag(z), creal(z))); + return ccosh(CMPLX(-cimag(z), creal(z))); }