bitwise Xor
fun A_Number.bitwiseXor(anInteger: A_Number, canDestroy: Boolean): A_Number
Content copied to clipboard
Compute the boolean exclusive-or operation for the corresponding bits of the receiver and anInteger. Both values are signed 2's complement integers.
For example, if ...11001₂ (negative seven) and ...01010₂ (positive ten) are provided, the result will be ...10011 (negative thirteen).
Return
The bitwise exclusive-or of the receiver and anInteger.
Parameters
an Integer
The integer to combine with the receiver using the bitwise exclusive-or operation.
can Destroy
Whether the receiver or anInteger can be recycled or destroyed if it happens to be mutable.