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/casinhf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/complex/casinhf.c') diff --git a/src/complex/casinhf.c b/src/complex/casinhf.c index ed4af643..a11bf902 100644 --- a/src/complex/casinhf.c +++ b/src/complex/casinhf.c @@ -2,6 +2,6 @@ float complex casinhf(float complex z) { - z = casinf(cpackf(-cimagf(z), crealf(z))); - return cpackf(cimagf(z), -crealf(z)); + z = casinf(CMPLXF(-cimagf(z), crealf(z))); + return CMPLXF(cimagf(z), -crealf(z)); } -- cgit v1.2.1