This is somewhat confusing.....I have to think about what I'm doing!!
The function is called the "ceiling function"....meaning the least integer greater than or equal to x
The easiest way to see this is to plot some values
x ceiling x ceiling x - 3
-3 -3 -6
-2.5 -2 -5
-2 -2 -5
-1.5 -1 -4
-1 -1 -4
-0.5 0 -3
0 0 -3
0.5 1 -2
Note the the graph at the top left seems to be the correct one....