Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/round.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 foo (a)
4 double a;
5 {
6 printf ("%d\n", (int) a);
7 }
8
9 main ()
10 {
11 foo (1.6);
12 foo (1.4);
13 foo (-1.4);
14 foo (-1.6);
15 }