We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e512fdd + ae13940 commit 6bfedd1Copy full SHA for 6bfedd1
text/0560-integer-overflow.md
@@ -130,7 +130,7 @@ defined results today. The only change is that now a panic may result.
130
wrap.
131
- The operations `/`, `%` for the arguments `INT_MIN` and `-1`
132
will unconditionally panic. This is unconditional for legacy reasons.
133
-- Shift operations (`<<`, `>>`) on a value of with `N` can be passed a shift
+- Shift operations (`<<`, `>>`) on a value of width `N` can be passed a shift
134
value >= `N`. It is unclear what behaviour should result from this, so the
135
shift value is unconditionally masked to be modulo `N` to ensure that the
136
argument is always in range.
0 commit comments