mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-03 09:58:29 -04:00
common: bit_util: Add BIT macro.
This commit is contained in:
@@ -44,4 +44,6 @@ template <typename T>
|
||||
return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL));
|
||||
}
|
||||
|
||||
#define BIT(n) (1U << (n))
|
||||
|
||||
} // namespace Common
|
||||
|
||||
Reference in New Issue
Block a user