mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 06:04:46 +01:00
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 |
||
|---|---|---|
| .. | ||
| int.zig | ||
| int_test.zig | ||