mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
more intuitive left shift and right shift operators
Before: * << is left shift, not allowed to shift 1 bits out * <<% is left shift, allowed to shift 1 bits out * >> is right shift, allowed to shift 1 bits out After: * << is left shift, allowed to shift 1 bits out * >> is right shift, allowed to shift 1 bits out * @shlExact is left shift, not allowed to shift 1 bits out * @shrExact is right shift, not allowed to shift 1 bits out Closes #413
This commit is contained in:
parent
54675b060a
commit
35d3444e27
28 changed files with 274 additions and 128 deletions
Loading…
Add table
Add a link
Reference in a new issue