The compiler supports the C99 complex and imaginary data types when the C99 extensions option is enabled. The following listing shows an example.
Listing: C99 Complex Data Type
#include <complex.h> complex double cd = 1 + 2*I;
Note: This feature is currently not available for all targets. Use #if __has_feature(C99_COMPLEX) to check if this feature is available for your target.