Description
Checksum code that appends to an integer its residue modulo a check base \(m\) [1,2]. Residues of operands predict the residue of their sum or product, so a result whose residue disagrees reveals an error [1].
For the low-cost check bases \(m=2^a-1\), the residue of a binary integer is the end-around-carry sum of its \(a\)-bit bytes [1,3].
Protection
An error in the integer goes undetected exactly when it changes the integer by a multiple of \(m\). Biresidue codes, which use two residue checkers, locate and correct any single error position [4]. Residue checks are the only checks that let an adder be verified by a circuit independent of it [2].Realizations
Computer arithmetic: the arithmetic elements of the Burroughs Scientific Processor used modulo-3 residue arithmetic to check hardware failures [5].Member of code lists
Primary Hierarchy
References
- [1]
R. S. Lim, “Concurrent error-detecting codes for arithmetic processors”, NASA Technical Paper 1528 (1979) URL
- [2]
W. W. Peterson, “On Checking an Adder”, IBM Journal of Research and Development 2, 166 (1958) DOI
- [3]
A. Avizienis, “Arithmetic Error Codes: Cost and Effectiveness Studies for Application in Digital System Design”, IEEE Transactions on Computers C–20, 1322 (1971) DOI
- [4]
T. R. N. Rao, “Biresidue Error-Correcting Codes for Computer Arithmetic”, IEEE Transactions on Computers C–19, 398 (1970) DOI
- [5]
D. D. Gajski and L. P. Rubinfield, “Design of arithmetic elements for Burroughs Scientific Processor”, 1978 IEEE 4th Symposium onomputer Arithmetic (ARITH) 245 (1978) DOI
- [6]
T. R. N. Rao, Error Coding for Arithmetic Processors (Academic Press, 1974)
- [7]
J. L. Massey and O. N. García, “Error-Correcting Codes in Computer Arithmetic”, Advances in Information Systems Science 273 (1972) DOI
- [8]
R. T. Braden, D. A. Borman, and C. Partridge, Computing the Internet Checksum (RFC Editor, 1988) DOI
- [9]
B. Datta and A. N. Singh, History of Hindu Mathematics: A Source Book, Part 1 (Asia Publishing House, 1962) URL
Page edit log
- Victor V. Albert (2026-11-11) — most recent
Cite as:
“Arithmetic residue code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/arithmetic_residue, arXiv:2606.11484