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