Arbortext Command Language > Using the Arbortext Command Language > Shift Operators
  
Shift Operators
It is important to note that the order in which items appear in this table are arbitrary. All operators have equal precedence to ACL.
Shift Operators table
<<
$i << 2 shifts the (unsigned) value of $i left by 2 bit positions.
>>
$i >> 2 shifts the (unsigned) value of $i right by 2 bit positions.
The following operators are numeric and require numeric operands:
+, -, *, /, &, ^, |, <<, >>, %, ~, ++, and ––
Related Topics
Functions as expressions and commands
Using expressions
Logical expressions
Operands