implement floor in C