优化因式分解,以减少取整误差的引入。
Two methods area optimizing factorization to decrease the error of rounding operations.
其余函数部分用于将结果取整,得出小时和分钟结果,组成结果字符串。
The remainder of the function consists of rounding up the result to hours and minutes and constructing the result string.
运用单纯形方法的一个问题是解为小数值,作者用一个简单的方法进行取整。
One problem caused by using simplex method is that the results are fractional values while need integers, and that provides a simple but effective method to solve it.
应用推荐