Maptitude GISDK Help |
Computes the bitwise NOT of an integer.
int = BitwiseNot(integer int1)
Argument |
Contents |
int1 |
An integer |
An integer that is the bitwise NOT of the integer argument.
All bits are reversed in the resulting integer.
int = BitwiseNot(1) // int = -2: all but the rightmost bit set to 1
int = BitwiseNot(0) // int = -1: all bits set to 1
int = BitwiseNot(-1) // int = 0: all bits set to 0
Function |
Summary |
Computes the bitwise AND of two integers |
|
Computes the bitwise OR of two integers |
|
Computes the bitwise exclusive OR of an integer |
|
Does a left arithmetic shift of the bits in an integer |
|
Does a right arithmetic shift of the bits in an integer |
©2025 Caliper Corporation | www.caliper.com |