Post by Lionel ConsAre there any printf() formats defined for the C99 complex type?
No. Instead, do: printf("(%g+I*%g)", creal(z), cimag(z));
---
Fred J. Tydeman Tydeman Consulting
***@tybor.com Testing, numerics, programming
+1 (775) 287-5904 Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.