|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: Comparison Operators] [Home] [Next: Special Operators]
operand1 & operand2
Returns the result of a bit-wise AND on the operands (operand1 and operand2).
operand1 ^ operand2
Returns the result of a bit-wise XOR on the operands (operand1 and operand2).
operand1 | operand2
Returns the result of a bit-wise OR on the operands (operand1 and operand2).
~ operand
Returns the bit-wise NOT of the operand.
operand1 << operand2
Returns the result of a bit-wise left shift of operand1 by the number of bits specified by operand2. Zeros are shifted in from the right.
operand1 >> operand2
Returns the result of a bit-wise (sign propagating) right shift of operand1 by the number of bits specified by operand2.
operand1 >>> operand2
Returns the result of a bit-wise (zero filling) right shift of operand1 by the number of bits specified by operand2. Zeros are shifted in from the left.
[Prev: Comparison Operators] [Home] [Next: Special Operators]
Copyright © 2001-2006 Trolltech | Trademarks | QSA version 1.1.5
|