gcc/testsuite/c-c++-common/dfp/convert-bfp-3.c
raw| 1 | /* This test assumes IEEE float and double. It also tests long double |
| 2 | but makes no assumption about its size or range of values. */ |
| 3 | |
| 4 | #include "convert.h" |
| 5 | |
| 6 | volatile _Decimal32 sd; |
| 7 | volatile _Decimal64 dd; |
| 8 | volatile _Decimal128 td; |
| 9 | volatile float sf; |
| 10 | volatile double df; |
| 11 | volatile long double tf; /* might actually be df or xf, doesn't matter */ |
| 12 | |
| 13 | CONVERT_ZEROES_ALL (t); |
| 14 | |
| 15 | int |
| 16 | main () |
| 17 | { |
| 18 | CALL_ZEROES_ALL (t) |
| 19 | |
| 20 | FINISH |
| 21 | } |