ae0945b0d5d4acf0a5f4f2f1bba677d856064caf
1 /* { dg-options "-O2" } */
3 /* N1150 5.1 Conversion between decimal floating integer.
5 These should all be folded at compile time. */
11 extern void link_error (void);
21 unsigned long long ull
;
27 /* C99 Section 6.7.2 Type specifiers. Type _Bool is
28 mentioned in this section. Conversions between
29 BOOL and DFP types. */
31 /* Decimal float to unsigned integer. */
66 /* Decimal float to signed integer. */
68 /* Decimal float to BOOL. */
83 /* Unsigned integer to decimal float. */
92 if (d32
!= 345678.0df
)
95 if (d32
!= 1234567.df
)
102 if (d64
!= 345678.0dd
)
105 if (d64
!= 1234567.dd
)
112 if (d128
!= 345678.0dl
)
115 if (d128
!= 1234567.dl
)
118 /* Signed integer to decimal float. */
127 if (d32
!= -345678.0df
)
130 if (d32
!= -1234567.df
)
137 if (d64
!= -345678.0dd
)
140 if (d64
!= -1234567.dd
)
144 if (d128
!= -987.0dl
)
147 if (d128
!= -345678.0dl
)
150 if (d128
!= -1234567.dl
)
153 /* BOOL to decimal float. */