Operator | Description |
---|---|
+ |
addition |
- |
subtraction |
* |
multiplication |
/ |
quotient |
% |
remainder |
& |
bitwise and |
| |
bitwise or |
^ |
bitwise xor |
&^ |
bit clear (and not) |
<< |
left shift |
>> |
right shift |
Operator | Description |
---|---|
== |
equal |
!= |
not equal |
< |
less than |
<= |
less than or equal |
> |
greater than |
>= |
greater than or equal |
Operator | Description |
---|---|
&& |
logical and |
|| |
logical or |
! |
logical not |
Operator | Description |
---|---|
& |
address of / create pointer |
* |
dereference pointer |
<- |
send / receive operator (see 'Channels' below) |