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