gcc/testsuite/gcc.dg/torture/fp-int-convert-float16-timode.c
raw| 1 | /* Test floating-point conversions. _Float16 type with TImode. */ |
| 2 | /* { dg-do run } */ |
| 3 | /* { dg-options "" } */ |
| 4 | /* { dg-add-options float16 } */ |
| 5 | /* { dg-require-effective-target float16_runtime } */ |
| 6 | |
| 7 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ |
| 8 | #include <float.h> |
| 9 | #include "fp-int-convert.h" |
| 10 | |
| 11 | int |
| 12 | main (void) |
| 13 | { |
| 14 | TEST_I_F(TItype, UTItype, _Float16, FLT16_MANT_DIG, FLT16_MAX_EXP); |
| 15 | exit (0); |
| 16 | } |