All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Rounding error?

Definition 4.5 High School Computer Science · Chapter 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.

Read in context →