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

@ -7,5 +7,5 @@
double complex cacos(double complex z)
{
z = casin(z);
return cpack(M_PI_2 - creal(z), -cimag(z));
return CMPLX(M_PI_2 - creal(z), -cimag(z));
}