Apama 10.3 | Apama Documentation | Developing Apama Applications | EPL Reference | Expressions | Bitwise logical operators | Bitwise intersection (and)
Bitwise intersection (and)
The bitwise intersection operator and produces a result by comparing all 64 bits of its left and right operands, which must be expressions of type integer, one bit at a time. For each bit in the two operands, the corresponding bit in the result value is set to 1 if both operand bit values are 1 and set to 0 if either operand bit value is 0.
The following illustrates this using 64-bit binary values.
*a := 42;
*b := 642;
*a and b

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