Appendix II: Operators
+ sum integers, floats, strings
- difference integers, floats
* product integers, floats
/ quotient integers, floats
% remainder integers
& bitwise AND integers
| bitwise OR integers
^ bitwise XOR integers
<< left shift integer << unsigned integer
>> right shift integer >> unsigned integer
优先级 运算符
5 * / % << >> &
4 + - | ^
3 == != < <= > >=
2 &&
1 ||
赋值运算符:
+= -= *= /= %=
&= |= ^=
>>= <<=