In many cases, the round-off error can be managed, even over really complex computations, such that the top 6-8 decimal places are correct.
在许多情况下,舍入误差是可以控制的,即使在很复杂的计算,使得上部6 - 8位小数是正确的。
However, for negative values of x, roughly -4 and lower, the algorithm used to calculate Math.exp is relatively ill-behaved and subject to round-off error.
不过,对于负值的x,一般是-4以下的数字,用于计算Math .exp的算法表现很差,并且容易出现舍入错误。
However, for negative values of x, roughly -4 and lower, the algorithm used to calculate Math.exp is relatively ill-behaved and subject to round-off error.
不过,对于负值的x,一般是-4以下的数字,用于计算Math .exp的算法表现很差,并且容易出现舍入错误。
应用推荐