| Maptitude GISDK Help |
Computes the exclusive OR of two integers.
int = BitwiseXor(integer int1, integer int2)
| Argument | Contents |
|---|---|
| int1 | First integer |
| Int2 | Second integer |
An integer that is the bitwise exclusive OR of the integer arguments.
If a bit is set in either integer argument, but not both, it will be set in the resulting integer.
int = BitwiseXor(5, 3) // int = 6: in binary, 101 AND 011 = 110
int = BitwiseXor(8, 7) // int = 15: in binary, 1000 AND 0111 = 1111
| Function | Summary |
|---|---|
| BitwiseAnd() | Computes the bitwise AND of two integers |
| BitwiseNot() | Computes the bitwise NOT of an integer |
| BitwiseOr() | Computes the bitwise OR of two integers |
| ShiftLeft() | Does a left arithmetic shift of the bits in an integer |
| ShiftRight() | Does a right arithmetic shift of the bits in an integer |
| ©2025 Caliper Corporation | www.caliper.com |