M5Utility 0.0.2 git rev:5c1a751
|
Maths-related. More...
#include <cstdint>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | m5 |
Top level namespace of M5. | |
Functions | |
template<typename T > | |
constexpr bool | m5::math::is_powerof2 (const T v) |
Is value power of 2? | |
Maths-related.
|
inlineconstexpr |
Is value power of 2?
Type | of the value |
v | Value |