diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 16:14:04 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 16:14:04 -0400 |
| commit | 661f59838235815b5073a0ef95f410003639519e (patch) | |
| tree | 28eb14bc8053bb32abd7c103c4078ab4f81b6129 /src/complex/_Imaginary_I.h | |
| parent | e223e635cc53fa11e473cdbc864eb69a3da5f290 (diff) | |
rename non-compiled files to *.h
Diffstat (limited to 'src/complex/_Imaginary_I.h')
| -rw-r--r-- | src/complex/_Imaginary_I.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/complex/_Imaginary_I.h b/src/complex/_Imaginary_I.h new file mode 100644 index 00000000..052ecfc5 --- /dev/null +++ b/src/complex/_Imaginary_I.h @@ -0,0 +1,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) +*/ |
