In numerical analysis, approximation error is a measure of the difference between the exact value and an approximation.
The error of b as an approximation of a is:
The absolute error of b as an approximation of a is:
The relative error of b as an approximation of a is: