So if there's a difference in run time, it's not because of the arithmeticcode.
所以如果在运行时间上有差异,那么不是因为算术代码)。
2
The classic approach to writing code to evaluate arithmetic expressions was described by Donald Knuth in 1962 (see Resources). Knuth Outlines three steps.
编写代码对算术表达式求值的经典方法由Donald Knuth描述于1962年(请参阅参考资料)。
3
Some processors can handle unsigned integer arithmetic considerably faster than signed (this is also good practice, and helps make for self-documenting code).