如果差异在可接受舍入范围内,您的应用程序可以将这些数视为同一个数。
If the difference is within an acceptable margin of rounding, your application can treat the Numbers as if they are the same.
首先,对于定点计算机上四元数计算的舍入误差建立了概率模型,然后对舍入误差进行概率估计。
First, the probabilistic model of the rounding error in the computation of quaternions on a fixed point computer is established. Then, the probabilistic rounding error estimates are computed.
如果第一个要舍入的数是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.
C4738是警告指派、转型、传递引数,或其他运算的结果可能需要进行舍入,否则该运算可能会耗尽暂存器而需要使用记忆体(溢出)。
C4738 warns that the result of an assignment, cast, passed argument, or other operation may need to be rounded or that the operation ran out of registers and needed to use memory (spilling).
C4738是警告指派、转型、传递引数,或其他运算的结果可能需要进行舍入,否则该运算可能会耗尽暂存器而需要使用记忆体(溢出)。
C4738 warns that the result of an assignment, cast, passed argument, or other operation may need to be rounded or that the operation ran out of registers and needed to use memory (spilling).
应用推荐