summaryrefslogtreecommitdiff
path: root/src/complex/_Complex_I.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/_Complex_I.h')
-rw-r--r--src/complex/_Complex_I.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/complex/_Complex_I.h b/src/complex/_Complex_I.h
new file mode 100644
index 00000000..beded4ab
--- /dev/null
+++ b/src/complex/_Complex_I.h
@@ -0,0 +1,12 @@
+#include <complex.h>
+
+#define _Complex_I \
+ (((union { \
+ float _Complex __c; \
+ float __f[2]; \
+ }){ .__f = { 0.0, 1.0 } }).__c)
+
+
+/*
+STDC(199901)
+*/