Accuracy

Accuracy refers to how close a representation of a value is to the true value.

Relative error is a measure of accuracy of a representation. Relative error = , where is the true value and is the value that is represented.

For example, we know there is no exact representation of in binary:

  • In 5-bit fixed-point binary, with point between 4-3, the most accurate is . The accuracy is .