浮点数不是精确值,所以使用它们会导致舍入误差。
Floating point Numbers are not exact, and manipulating them will result in rounding errors.
在放大时,由于计算中要对误差进行舍入,所以某些直线可能看起来不正确。
Zooming in can cause some lines to appear incorrectly due to rounding errors in the calculations.
真正的数字并不是十分有用;由于取整舍入错误,这些数字可能并不是非常精确。
The actual Numbers are not very useful; they tend to be very inaccurate due to rounding errors.
因此,浮点运算可能导致舍入误差,产生的结果接近—但不等于—您可能希望的结果。
As a result, floating point operations may result in rounding errors, yielding a result that is close to — but not equal to — the result you might expect.
出于这个原因,在进行除法运算时,BigDecimal可以让您显式地控制舍入。
For this reason, BigDecimal gives you explicit control over rounding when performing division operations.
将小数值按指定的小数位数舍入。
Rounds a decimal value to a specified number of fractional digits.
将小数值舍入至最接近的整数值。
将十进位的值舍入至指定的精确度。
将十进位值舍入为指定的小数位数。
Rounds a decimal value to a specified number of fractional digits.
指定用于浮点数到整数转换的舍入方式。
Stateless Policy which specifies the rounding mode used for float to integral conversions.
所以处理大数据将越来越多地引入舍入误差。
So working with big Numbers will increasingly introduce rounding errors.
这种舍入有时称为就近舍入或四舍六入五成双。
This kind of rounding is sometimes called rounding to nearest, or banker's rounding.
这种情况下,超时应向上舍入到可能的最小超时。
In this case, the time-out should be rounded up to the minimum time-out possible.
FPU 的默认舍入模式为“舍入为最接近的整数”。
The default rounding mode of the FPU is "Round toward nearest."
本文提出了一种舍入量化器统计量化特性线性化的概念。
This paper proposes a linearization conception of the statistical quantization characteristic of roundoff quantizer.
推广上述结果,对矩阵基本运算的舍入误差进行了估计。
By generalizing the above results, the paper estimates the rounding error of matrix basic calculation.
例如,只能按一秒的增量等待的类型应该舍入到最接近的秒。
For example, a type that can wait only in one-second increments should round to the nearest second.
一个参数,指定当一个值正好处于另两个数中间时如何舍入这个值。
A parameter specifies how to round the value if it is midway between two other Numbers.
字段2中补充的内容将在舍入计算前被应用,这会产生一些有趣的效果。
The supplement from Field2 is applied before the rounding calculation, which enables some interesting effects.
如果差异在可接受舍入范围内,您的应用程序可以将这些数视为同一个数。
If the difference is within an acceptable margin of rounding, your application can treat the Numbers as if they are the same.
本文根据极限环特性对单舍入量化器二阶数字滤波器的零输入稳定性进行了分析。
In this paper the zero-input stability of second-order digital filters with a rounding quantizer has been analyzed by the properties of limit cycles.
这是因为以系统页面为单位提供视图,且视图大小向上舍入为下一个系统页面大小。
This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
使用不同类型的计算机时,DOUBLE的基础存储经常不同,从而导致不同的舍入。
When working with different types of computers, the underlying storage of DOUBLE is often different, resulting in different rounding.
对计算机浮点数算术运算的舍入误差进行分析,是对数值计算方法作误差分析的基础。
To analyze the rounding error of calculator floating-point Numbers arithmetic operation is the foundation of numerical calculation method's error analysis.
避免舍入为零可防止出现“繁忙等待”循环,即零超时值导致100%的处理器使用。
Rounding away from zero prevents busy-wait loops where a zero time-out value causes 100 percent processor utilization.
这些无法觉察的差异可能是由于浮点数据类型的舍入计算或生成相同结果的计算造成的。
The imperceptible differences might be due to rounding or same-result calculations of a floating-point data types.
该转换表达式避免了数值积分法求解蠕变柔量值产生舍入误差和采用拉氏变换的繁琐计算。
This expression avoids rounding error brought by numerical integral method and complex calculation of Laplace transforms.
如果第一个要舍入的数是5,后面其他的位都是0,那么这个数就会被舍入到最近的偶数。
If the first non-significant digit is 5, and all subsequent digits are 0, the last significant digit is rounded to the nearest even digit. See the example that follows.
通过运行Windows计算器(假定Windows的计算器没有舍入错误)来模拟相同的计算。
Run it through the Windows calculator (assuming the Windows calculator has no rounding errors) simulating the same calculations.
通过运行Windows计算器(假定Windows的计算器没有舍入错误)来模拟相同的计算。
Run it through the Windows calculator (assuming the Windows calculator has no rounding errors) simulating the same calculations.
应用推荐