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
commit cfbaba79a2
47 changed files with 152 additions and 156 deletions

View file

@ -4,6 +4,6 @@
double complex catanh(double complex z)
{
z = catan(cpack(-cimag(z), creal(z)));
return cpack(cimag(z), -creal(z));
z = catan(CMPLX(-cimag(z), creal(z)));
return CMPLX(cimag(z), -creal(z));
}