Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20030217-1.c
blobd2b24802bab2841ae922f69c4a19800a9f7b84e2
1 /* Test whether denormal floating point constants in hexadecimal notation
2 are parsed correctly. */
3 /* { dg-do run } */
4 /* { dg-options "-std=c99" } */
5 /* { dg-require-effective-target large_long_double } */
7 long double d = 0x0.0000003ffffffff00000p-16357L;
8 long double e = 0x0.0000003ffffffff00000p-16356L;
10 extern void abort (void);
11 extern void exit (int);
13 int
14 main (void)
16 if (d != e / 2.0)
17 abort ();
18 exit (0);