然而,按位运算符和移位运算符永远不会导致溢出。
However, bitwise operators and shift operators never cause overflow.
首先,根据移动机器人的实时性要求提出了基于移位运算的灰度变换方法。
Firstly, considering the requirement for time crisis, a gray-level transformation method based on shifting operation is put forward.
CORDIC算法只有加、减和移位运算,计算量少,速度快,节省资源,容易实现。
The CORDIC algorithm only has addition, subtraction and shift operations, with less computation amount, fast speed, resources saving and easy realization.
应用推荐