Roundoff Error definition
Roundoff error is the difference introduced when an exact value is replaced by a value available at limited precision.
Roundoff Error in a picture
How it works
With the signed convention approximate minus exact, the error can be positive or negative. Roundoff can arise in representing an input or in storing intermediate results. Repeated operations can amplify or partly cancel individual errors.
Worked examples
Round 7.346 to two decimals and find the signed error.
The approximation is 7.35 and the signed error is +0.004.
Find the absolute error when 1.247 is rounded to 1.25.
|1.25 − 1.247| = 0.003.
Can an exactly representable value have zero roundoff?
Yes, when no rounding changes it.
Common mistake
Specify the sign convention when reporting signed error. The absolute error is nonnegative under either sign convention.
Quick check
Can roundoff affect intermediate arithmetic?
Show answer
Yes.
What can cause error even with exact arithmetic?
Show answer
Truncating an infinite method to finitely many terms or steps.
Sources
Flashcard
Roundoff Error
Reveal the definition
Roundoff error is the difference introduced when an exact value is replaced by a value available at limited precision.
Effortless Math. “Roundoff Error.” Math Dictionary.



