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. */
6 volatile _Decimal32 sd;
7 volatile _Decimal64 dd;
8 volatile _Decimal128 td;
11 volatile long double tf; /* might actually be df or xf, doesn't matter */
13 CONVERT_VALID_ALL (t1, 0.0, 0.)
14 CONVERT_VALID_ALL (t2, 1.0, 0.)
15 CONVERT_VALID_ALL (t3, -11.5, 0.)
16 CONVERT_VALID_ALL (t4, 7.0, 0.1e-14)
17 CONVERT_VALID_ALL (t5, -7.0, 0.1e-14)
18 CONVERT_VALID_ALL (t6, 999999., 0.)
19 CONVERT_VALID_ALL (t7, -999999., 0.)