tlx
round_up.hpp File Reference

Go to the source code of this file.

Namespaces

 tlx
 

Functions

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...