пол и ceil в CPP
floor(x) : Returns the largest integer that is smaller than or equal to x (i.e : rounds downs the nearest integer).
ceil(x) : Returns the smallest integer that is greater than or equal to x (i.e : rounds up the nearest integer).
Condemned Crocodile