In the process of finding C and k for Big-O notation (another subject entirely, stupid things), we end up having to do this thing:

floor(5x)/x

And on a related problem:

ceiling(x/4)/x

So… how do you do that? My first inclination was to pretend the floor and ceiling parts weren’t there, but my first inclinations about math tend to always be horribly, horribly wrong.