1 /* { dg-options "-O0" } */
3 /* C99 6.5.8 Relational operators.
4 Compare decimal float values against variables of different types. */
12 /* Use some typedefs of decimal float types, too. */
13 typedef _Decimal32 SDtype;
14 typedef _Decimal64 DDtype;
15 typedef _Decimal128 TDtype;
35 if ((d32 > d64) != 0) FAILURE
36 if ((d32 >= d128b) != 1) FAILURE
38 if ((d64 < d32) != 0) FAILURE
39 if ((d64 <= d128) != 1) FAILURE
41 if ((d128 > d32) != 1) FAILURE
42 if ((d128 >= d64) != 1) FAILURE