repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 439685 compiler warning in callgrind/main.c
[valgrind.git]
/
VEX
/
useful
/
fpround.c
blob
3a186bb603ebc2eb6ab0e95d816715a9a3cc34f7
1
2
#include <stdio.h>
3
4
int
main
(
void
)
5
{
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
;
11
}
12
return
0
;
13
}