如果加法运算产生一个对该CPU处理而言过大的成果,在标记暂存器里,运算溢出(Arithmetic Overflow)标记可能会被设置(参见以下的数值精度探讨)。
基于30个网页-相关网页
整数运算结果出现溢出 INTEGER arithmetic overflow
要避免任何数与 0 相除或溢出,将所有除法转换为乘法并检查运算符号(Y2=Y1 的水平线不会计入算法)
To avoid any division by zero or overflow, transform all division into multiplication and check for the sign (horizontal lines with Y2=Y1 do not count in the algorithm)
但是用定点器件实现时,在有限的精度运算中,可能出现不稳定现象和发生溢出。
But it will be occur of instability and overflow as result of operation of the finite precision.
该方程具有递推的形式且只涉及乘法运算,避免了传统算法中的计算溢出。
The equation has recursion form and only relates to multiplication and will not lead to overflow in calculation.
应用推荐