全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Rounding error?

Definition 4.5 High School Computer Science · 第 4 章 — Floating-Point Numbers

When the exact result of an operation, or a number typed in decimal, is not a float, the computer keeps the nearest float. The difference between the exact value and the stored value is the rounding error. For one operation it is at most half the gap, that is, at most 12ε\tfrac12\varepsilon times the size of the result.

在原文中阅读 →