Skip to main content
Log in

Error codes in residue number systems with magnitude index

  • Published:
CALCOLO Aims and scope Submit manuscript

Abstract

The idea of adding a magnitude index to the residue representation of numbers is reconsidered. The range of a given Residue Number System is supposed to be divided into intervals of equal width and the magnitude index of a numberX is defined as an integer locatingX into one of such intervals. It is shown that the redundancy implied by the use of the magnitude index introduced in this paper, beside allowing simplification of non-modular operations, can also provide error detection or correction. The redundancy required to detect or correct single residue digit errors is the same as in Redundant Residue Number Systems and in Product Codes in Residue Number Systems. In addition, the codes under consideration allow detection of any error affecting the residue representation, provided that the magnitude of the error exceeds a given threshold, and, whenever an error is detected, it is possible to replace the wrong number with an approximation of the correct number. The accuracy of the approximation increases as the redundancy increases.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. A. Sasaki,Addition and Subtraction in the Residue Number Systems, IEEE Trans. Computers,16 (1967), 157–164.

    Article  MATH  Google Scholar 

  2. T. R. N. RaoA. K. Trehan,Binary Logic for Residue Arithmetic Using Magnitude Index, IEEE Trans. Computers19 (1970), 752–757.

    MATH  Google Scholar 

  3. F. Barsi, P. Maestrini,Error Correcting Properties of Redundant Residue Number Systems, IEEE Trans. Computers22 (1973), 307–315.

    MATH  MathSciNet  Google Scholar 

  4. N. S. SzaboR. I. Tanaka,Residue Arithmetic and its Applications to Computer Technology (1967), McGraw-Hill, New York.

    MATH  Google Scholar 

  5. D. K. BanejiJ. A. Brzozowski,Sign Detection in Residue Number Systems, IEEE Trans. Computers18 (1969), 313–320.

    MathSciNet  Google Scholar 

  6. R. W. Watson Error Detection and Correction and Other Residue Interacting Operations in a Redundant Residue Number System (1965), Ph. D. Dissertation, University of California, Berkeley.

    Google Scholar 

  7. F. BarsiP. Maestrini,Error Detection and Correction by Product Codes in Residue Number Systems, IEEE Trans. Computers23 (1974), 915–924.

    MATH  MathSciNet  Google Scholar 

  8. F. BarsiP. Maestrini,Concurrent Detection of Additive Overflow and Arithmetic Erros in Residue Codes, Calcolo11 (1974), 1–24.

    Article  MathSciNet  Google Scholar 

  9. I. M. Vinogradov,Elements of Number Theory (1954), Dover, New York.

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Barsi, F., Maestrini, P. Error codes in residue number systems with magnitude index. Calcolo 15, 299–316 (1978). https://doi.org/10.1007/BF02575920

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02575920

Keywords

Navigation