How can I round up when performing division on two int values in C++ without using std::ceil?
Typically I end up doing something like the following:
double res = ceil(a / (double) b);
Is there any way I can duplicate the result without using std::ceil?