13.9 Bitwise Shift Operators
Syntax
13.9.1 The Left Shift Operator ( <<
)
Performs a bitwise left shift operation on the left operand by the amount specified by the right operand.
13.9.1.1 Runtime Semantics: Evaluation
- Return ?
EvaluateStringOrNumericBinaryExpression (ShiftExpression ,<<
,AdditiveExpression ).
13.9.2 The Signed Right Shift Operator ( >>
)
Performs a sign-filling bitwise right shift operation on the left operand by the amount specified by the right operand.
13.9.2.1 Runtime Semantics: Evaluation
- Return ?
EvaluateStringOrNumericBinaryExpression (ShiftExpression ,>>
,AdditiveExpression ).
13.9.3 The Unsigned Right Shift Operator ( >>>
)
Performs a zero-filling bitwise right shift operation on the left operand by the amount specified by the right operand.
13.9.3.1 Runtime Semantics: Evaluation
- Return ?
EvaluateStringOrNumericBinaryExpression (ShiftExpression ,>>>
,AdditiveExpression ).