mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
74f361a5ce
There were good reviews made after #31365 was merged, so this commit addresses them separately. 1. Assert that the number is greater than zero 2. Use `constants` instead of calculating constants manually 3. Use `Const.bitCountAbs` for log2