|
Operator
|
Operation
|
|---|---|
= |
equal
|
== |
equal
|
< |
less than
|
<= |
less than or equal
|
> |
greater than
|
>= |
greater than or equal
|
!= |
not equal
|
|
Operator
|
Operation
|
|---|---|
+ |
addition
|
- |
subtraction
|
* |
multiplication
|
/ |
division
|
% |
modulo
|
|
Operator
|
Operation
|
|---|---|
&&,
AND, and
|
conditional AND
|
||,
OR, or
|
conditional OR
|
|
Operator
|
Operation
|
|---|---|
<< |
left shift
|
>> |
right signed shift
|
>>> |
right unsigned shift
|
& |
bitwise AND
|
| |
bitwise inclusive OR
|
^ |
bitwise exclusive OR
|
~ |
bitwise NOT
|
|
Operator
|
Operation
|
|---|---|
+ |
unary plus
|
- |
unary minus
|
++ |
increment value by 1
|
-- |
decrement value by 1
|
!,
NOT, not
|
logical NOT
|