1 /* { dg-options "-std=gnu99" } */
3 /* C99 6.5.9 Equality operators.
4 Compare decimal float constants against each other. */
6 extern void link_error (void);
11 /* Compare like-typed positive constants. */
15 /* Compare decimal float constants of different types. */
16 if (500e-2dl != 0.05e2df)
19 /* Binary floating point introduces errors to decimal values. */
20 if (1.4 + 1.4 + 1.4 == 4.2)
23 /* But, this looks more like what one would expect. */
24 if (1.4dd + 1.4dd + 1.4dd != 4.2dd)