|
bpp-core3
3.0.0
|
#include <type_traits>
Include dependency graph for IntegerTools.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| bpp | |
| bpp::IntegerTools | |
| Namespace for integer utils. | |
Functions | |
| template<typename T > | |
| T | bpp::IntegerTools::divideDown (T n, T divisor) noexcept |
| Returns floor(n/divisor). More... | |
| template<typename T > | |
| T | bpp::IntegerTools::divideUp (T n, T divisor) noexcept |
| Returns ceil (n/divisor). More... | |
| template<typename T > | |
| T | bpp::IntegerTools::roundDown (T n, T divisor) noexcept |
| Round n to previous divisor multiple. More... | |
| template<typename T > | |
| T | bpp::IntegerTools::roundUp (T n, T divisor) noexcept |
| Round n to next divisor multiple. More... | |