• 避免任何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)

    youdao

  • 如果我们能够确定其中一个操作数为unsigned,那么使用符号除法更好因为要比符号除法快得多

    It will be better to use unsigned division by ensuring that one of the operands is unsigned, as this is faster than signed division.

    youdao

  • 符号除法耗费更多时间因为除法是使最终结果趋向的,移位则是趋向于负无穷

    The signed division will take more time to execute because it rounds towards zero, while a shift rounds towards minus infinity.

    youdao

  • 这两个除法都会避免调用除法函数另外,无符号除法符号除法使用更少指令

    Both divisions will avoid calling the division function and the unsigned division will take fewer instructions than the signed division.

    youdao

  • 这两个除法都会避免调用除法函数另外,无符号除法符号除法使用更少指令

    Both divisions will avoid calling the division function and the unsigned division will take fewer instructions than the signed division.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定