Thrill  0.1
round_up.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




template<typename IntegralN , typename IntegralK >
static constexpr auto round_up (const IntegralN &n, const IntegralK &k) -> decltype(n+k)
 round n up to the next multiple of k, for n and k positive! More...