summaryrefslogtreecommitdiff
path: root/src/complex/_Imaginary_I.h
blob: 052ecfc5dfab3cec731004ba6e8b112034005d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <complex.h>

#ifdef __STDC_IEC_559_COMPLEX__
#define _Imaginary_I \
	(((union { \
		float _Imaginary __i; \
		float __f; \
	}){ .__f = 1.0 }).__i)
#endif

/* This should only be defined if imaginary types are supported. */

/*
STDC(199901)
*/