Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
2822ebada62ff359e0110519a26e64220da76e42
/
.
/
none
/
tests
/
floored.c
blob: 678a4f52625d3c92fe3197579cae5f1769ca3b47 [
file
] [
log
] [
blame
]
#include
<math.h>
#include
<stdio.h>
int
xToI
(
);
int
main
(
void
)
{
printf
(
"the answer is %d\n"
,
xToI
()
);
return
0
;
}
int
xToI
()
{
return
(
int
)
floor
(
2.90
)
+
1
;
}