Shell并没有提供大量的算术操作符,但是已经足以完成大多数编程任务,包括移位、求余和比较。
The shell doesn't have a large collection of arithmetic operators, but it's sufficient for most programming tasks, including bitwise shifts, remainders, and comparisons.
运算符对数值执行常见计算,其中包括将数值的位模式移位。
Arithmetic Operators perform familiar calculations on numeric values, including shifting their bit patterns.
然而,按位运算符和移位运算符永远不会导致溢出。
However, bitwise operators and shift operators never cause overflow.
应用推荐