|
Time Shield Library
C++ library for working with time
|
Floor division and modulus helpers. More...
Go to the source code of this file.
Namespaces | |
| namespace | time_shield |
| Main namespace for the Time Shield library. | |
| namespace | time_shield::detail |
Functions | |
| template<class T> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::detail::floor_div (T a, T b) noexcept |
| Floor division for positive divisor. | |
| template<class T> | |
| TIME_SHIELD_CONSTEXPR T | time_shield::detail::floor_mod (T a, T b) noexcept |
| Floor-mod for positive modulus (returns r in [0..b)). | |
Floor division and modulus helpers.
Definition in file floor_math.hpp.