light/modules/bitwise/operations.cppm

13 lines
178 B
Text
Raw Normal View History

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