Bug 439685 compiler warning in callgrind/main.c
[valgrind.git] / VEX / useful / fpround.c
blob3a186bb603ebc2eb6ab0e95d816715a9a3cc34f7
2 #include <stdio.h>
4 int main ( void )
6 double d = 0.0;
7 int i;
8 for (i = 0; i < 30; i++) {
9 printf("i = %d, d = %f, (int)d = %d\n", i, d, (int)d);
10 d += 0.11;
12 return 0;