diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-03-06 19:33:12 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-03-06 19:33:12 -0500 |
| commit | 47eab10b73a95e096ca8e400e1342f9f8e7926bf (patch) | |
| tree | dd68075e2b58021765780c0543b741cefcfc99fe | |
| parent | cb0dc1130277cab3a4d5bcc7b12dedde3de02e59 (diff) | |
test I^2
| -rw-r--r-- | complex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -13,6 +13,7 @@ void test_complex_h(void) test_true(cimag(I) == 1); test_true(creal(_Complex_I) == 0); test_true(cimag(_Complex_I) == 1); + test_double(I * I, -1); #ifdef _Imaginary_I test_true(creal(_Imaginary_I) == 0); |
