Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/dfp/convert-bfp-5.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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_NAN_ALL (t); | |
14 | |
15 int | |
16 main () | |
17 { | |
18 CALL_NAN_ALL (t) | |
19 | |
20 FINISH | |
21 } |