1 /* { dg-options "-O2" } */
3 /* N1150 5.2 Conversions among decimal floating types and between
4 decimal floating types and generic floating types.
5 C99 6.3.1.5(4) Conversions, arithmetic operands, real floating types. */
16 extern void link_error (void);
21 /* Conversions from decimal float to binary float. */
23 /* Conversions from _Decimal32. */
37 /* Conversions from _Decimal64. */
51 /* Conversions from _Decimal128. */
65 /* Conversions from binary float to decimal float. */
105 /* 2**(-11) = 0.00048828125. */
106 d128 = 0.000488281251dl;
108 if (sf != 0.00048828125f)
110 /* 2**(-25) = 0.298023223876953125E-7. */
111 d128 = 2.98023223876953125E-8dl;
113 if (df < (2.9802322387695312e-08 - 0.00000000001)
114 || df > (2.9802322387695312e-08 + 0.00000000001))