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-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback