co_ecs 0.9.0
Cobalt ECS
Loading...
Searching...
No Matches
bits.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  co_ecs
 
namespace  co_ecs::detail
 

Functions

constexpr auto co_ecs::detail::mod_2n (auto value, auto divisor) noexcept -> decltype(auto)
 Calculate the value % b=2^n.
 
constexpr auto co_ecs::detail::is_power_of_2 (auto value) -> bool
 Check if value is a power of 2.