Author_Institution :
Dept. of Comput. Sci., Nat. Sun Yat-sen Univ., Kaohsiung, Taiwan
Abstract :
In this paper, we present a parity detection algorithm for residue number system using three-modulus set {2p -- 1, 2p + 1, 2p2 -- 1}, where p is a positive integer. Given residue number system representation of X = (x1, x2, x3) where x1 = X mod 2p-1, x2 = X mod 2p+1, x3 = X mod 2p2 -- 1. We show that the parity of X can be computed by (x1 + x2 + x3 + G (d) mod 2, where d = p (x2 -- x1) + (2x3 -- x1 -- x2), G (d) = 1, if d > 2 (2p2 -- 1) or d <; 0, otherwise, G(d) = 0.