light/modules/bitwise/operations.cppm
light7734 63cb6dfe92
Some checks are pending
continuous-integration/drone/push Build is running
wip: convert from include style to module import style :D
2025-11-04 18:50:59 +03:30

12 lines
178 B
C++

export module bitwise;
import std;
namespace lt::bitwise {
/* bit-wise */
constexpr auto bit(std::uint32_t x) -> std::uint32_t
{
return 1u << x;
}
} // namespace lt::bitwise