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.
1 parent 4ea9a2e commit 2d2b4c4Copy full SHA for 2d2b4c4
spec/10-expressions.md
@@ -2190,8 +2190,7 @@ Right shifts where the shift count is greater than the bit width of the integer
2190
type (e.g. 32 or 64) must always result in 0 when `e1` is positive and -1 when
2191
`e1` is negative, even if there is no native processor support for this.
2192
2193
-If the shift count is negative, this results in a diagnostic followed by a
2194
-`bool` result having value `FALSE`.
+If the shift count is negative, an exception of type `ArithmeticError` is thrown.
2195
2196
These operators associate left-to-right.
2197
0 commit comments