From cfbaba79a2dd380e580a247b8fd36af60c878e8f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 13 Nov 2012 01:31:49 +0100 Subject: complex: add C11 CMPLX macros and replace cpack with them --- src/complex/ctan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/complex/ctan.c') diff --git a/src/complex/ctan.c b/src/complex/ctan.c index 4741a4df..c0926374 100644 --- a/src/complex/ctan.c +++ b/src/complex/ctan.c @@ -4,6 +4,6 @@ double complex ctan(double complex z) { - z = ctanh(cpack(-cimag(z), creal(z))); - return cpack(cimag(z), -creal(z)); + z = ctanh(CMPLX(-cimag(z), creal(z))); + return CMPLX(cimag(z), -creal(z)); } -- cgit v1.2.1