Apama 10.3.1 | Apama Documentation | Developing Apama Applications | 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 illustrates this using 64-bit binary values.
*i := 42;
0000000000000000000000000000000000000000000000000000000000101010
*i << 24
0000000000000000000000000000000000101010000000000000000000000000

Copyright © 2013-2019 | 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.