diff --git a/include/complex.h b/include/complex.h new file mode 100644 index 0000000..76207ac --- /dev/null +++ b/include/complex.h @@ -0,0 +1,19 @@ +#ifndef _COMPLEX_H +#define _COMPLEX_H + +#define complex _Complex +#define _Complex_I (float _Imaginary) (1.0fi) +#ifdef __STDC_IEC_559_COMPLEX__ +#define imaginary _Imaginary +#define _Imaginary_I (float _Imaginary) (1.0fi) +#endif + +#ifdef _Imaginary_I +#define I _Imaginary_I +#else +#define I _Complex_I +#endif + + + +#endif \ No newline at end of file