Apama 10.3 | Apama Documentation | Developing Apama Applications | EPL Reference | Expressions | Bitwise logical operators | Unary bitwise inverse
Unary bitwise inverse
The unary bitwise not operator produces a result by computing the bitwise complement or inverse of its right operand, which must be an expression of type integer. For each bit in the operand's value, the corresponding bit in the result value is set to 1 if the operand's bit value is 0 and 0 if the operand's bit value is 1.
The following illustrates this using 64-bit binary values.
*b := 42;
*not 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.