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 1dbbde6 commit 4eaaf74Copy full SHA for 4eaaf74
spec/expression.dd
@@ -991,6 +991,9 @@ $(TABLE
991
$(TROW `!`, Logical NOT)
992
)
993
994
+ $(P The usual $(INTEGER_PROMOTIONS) are performed prior to unary
995
+ `-` and `+` operations.)
996
+
997
$(H3 $(LNAME2 complement_expressions, Complement Expressions))
998
999
$(GRAMMAR
@@ -1000,9 +1003,7 @@ $(GNAME ComplementExpression):
1000
1003
1001
1004
$(P $(I ComplementExpression)s work on integral types (except $(D bool)).
1002
1005
All the bits in the value are complemented.
- )
-
- $(P $(B Note:) the usual $(INTEGER_PROMOTIONS) are not performed
1006
+ The usual $(INTEGER_PROMOTIONS) are performed
1007
prior to the complement operation.
1008
1009
0 commit comments