modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/990127-2.c (about) 1 /* { dg-options "-mpc64" { target { i?86-*-* x86_64-*-* } } } */ 2 3 extern void abort (void); 4 extern void exit (int); 5 6 void 7 fpEq (double x, double y) 8 { 9 if (x != y) 10 abort (); 11 } 12 13 void 14 fpTest (double x, double y) 15 { 16 double result1 = (35.7 * 100.0) / 45.0; 17 double result2 = (x * 100.0) / y; 18 fpEq (result1, result2); 19 } 20 21 int 22 main () 23 { 24 fpTest (35.7, 45.0); 25 exit (0); 26 }