Rounding Errors
Rounding Errors
Given a real number $p$ and an approximation for it $p*$, we can find how much error there is in the approximation.
The actual error is $p - p*$, the absolute error is $|p - p*|,$ and the relative error is:
\[\frac{|p - p*|}{|p|}.\]