Maptitude GISDK Help |
Arithmetic operators combine integer and real expressions together.
Operator |
Meaning |
+ |
addition |
- |
subtraction, negation |
* |
multiplication |
/ |
division (floating-point) |
You can freely mix integers and reals with arithmetic operators. If the result is an integer, then the combined expression has an integer type. If the result is not an integer, then the combined expression has a real type:
3.2 + 4.8 |
// results in an integer |
2 / 3 |
// results in a real |
You can use these GISDK functions to do bitwise operations on integers:
GISDK Function |
Summary |
Computes the bitwise AND of two integers |
|
Computes the bitwise NOT of an integer |
|
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 |