Developing Apama Applications > Apama EPL Reference > Expressions > Shift operators > Left shift operator
Left shift operator
The left shift operator << produces a result by moving the left operand value’s bits to the left and filling the vacated bits on the right with 0 bits. Bits that are moved beyond the leftmost bit (the sign bit) position are discarded.
Example
The following table illustrates this using 64-bit binary values.
 
i := 42;
0000000000000000000000000000000000000000000000000000000000101010
 
i << 24
0000000000000000000000000000000000101010000000000000000000000000
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.