Maptitude GISDK Help

Arithmetic Operators

 

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
BitwiseAnd() Computes the bitwise AND of two integers
BitwiseNot() Computes the bitwise NOT of an integer
BitwiseOr() Computes the bitwise OR of two integers
BitwiseXor() Computes the bitwise exclusive OR of an integer
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