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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.