Table of numeric operators

You can use these operators in expressions whose operands represent numeric values:

Type of operator

Operator

Operation

Arithmetic

^

Exponentiation

 

-, +

Unary negation (unary minus), unary plus

 

*, /

Multiplication, floating-point division

 

\

Integer division

 

Mod

Modulo division (remainder)

 

-, +

Subtraction, addition

Relational (comparison)

=

Equal

 

<>

Not equal

 

><

Not equal

 

<

Less than

 

<=

Less than or equal to

 

=<

Less than or equal to

 

>

Greater than

 

>=

Greater than or equal to

 

=>

Greater than or equal to

Logical (bitwise)

Not

One's complement

 

And

Bitwise And

 

Or

Bitwise Or

 

Xor

Bitwise exclusive Or

 

Eqv

Bitwise equivalence

 

Imp

Bitwise implication

Logical (Boolean)

Not

Logical negation

 

And

Logical And

 

Or

Logical Or

 

Xor

Logical exclusive Or

 

Eqv

Logical equivalence

 

Imp

Logical implication