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 b093478 commit ada1e31Copy full SHA for ada1e31
spec/expression.dd
@@ -789,8 +789,9 @@ $(GNAME AddExpression):
789
)
790
791
$(P If both operands are of integral types and an overflow or underflow
792
- occurs in the computation, wrapping will happen. That is,
793
- $(D uint.max + 1 == uint.min) and $(D uint.min - 1 == uint.max).
+ occurs in the computation, wrapping will happen. For example,
+ $(D uint.max + 1 == uint.min), $(D uint.min - 1 == uint.max),
794
+ $(D int.max + 1 == int.min), and $(D int.min - 1 == int.max).
795
796
797
$(P Add expressions for floating point operands are not associative.
0 commit comments