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
FreeBSD: add file descriptor tracking for _umtx_op
[valgrind.git]
/
none
/
tests
/
floored.c
blob
678a4f52625d3c92fe3197579cae5f1769ca3b47
1
2
#include <math.h>
3
#include <stdio.h>
4
5
int
xToI
( );
6
7
int
main
(
void
)
8
{
9
printf
(
"the answer is %d
\n
"
,
xToI
() );
10
return
0
;
11
}
12
13
14
int
xToI
()
15
{
16
return
(
int
)
floor
(
2.90
) +
1
;
17
}
18