Files
valgrind/none/tests/floored.c
Nicholas Nethercote afebe61b37 Files updated, added and removed in order to turn the ERASER branch into HEAD
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1086
2002-09-23 09:36:25 +00:00

19 lines
185 B
C

#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;
}