complex: add C11 CMPLX macros and replace cpack with them

This commit is contained in:
Szabolcs Nagy
2012-11-13 01:31:49 +01:00
parent e2fe959fe2
commit cfbaba79a2
47 changed files with 152 additions and 156 deletions

View File

@ -2,5 +2,5 @@
float complex ccosf(float complex z)
{
return ccoshf(cpackf(-cimagf(z), crealf(z)));
return ccoshf(CMPLXF(-cimagf(z), crealf(z)));
}