1/* Test whether denormal floating point constants in hexadecimal notation 2 are parsed correctly. */ 3/* { dg-do run } */ 4/* { dg-options "-std=c99" } */ 5 6long double d; 7long double e; 8 9long double f = 2.2250738585072014E-308L; 10 11extern void abort (void); 12extern void exit (int); 13 14int 15main (void) 16{ 17 d = 0x0.0000003ffffffff00000p-1048L; 18 e = 0x0.0000003ffffffff00000p-1047L; 19 if (d != e / 2.0) 20 abort (); 21 22 exit (0); 23} 24