Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
bde302702df4d1bd55b10e5880f09ce2e0d5dce1
/
.
/
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
;
}