Magnitude Comparison and Sign Detection in Residue Number System
Albert Rod Luguterah, Mohammed Ibrahim Daabo, Stephen Akobre, Moses Apambila Agebure
Asian Journal of Research in Computer Science · pp. 144–161 · Published 27 Mar 2026
10.9734/ajrcos/2026/v19i3841Abstract
The Residue Number System (RNS) is a non-positional number system that represent number in the form of residues modulo a set of coprime moduli. This nature of RNS makes it advantageous in achieving carry-free arithmetic. However, due to the non-positional nature of RNS, direct number comparisons to determine the magnitude of RNS numbers is nearly impossible. In this paper, a magnitude comparison scheme is proposed and is theoretically proven and evaluated. The proposed scheme compares the relative magnitude of any two RNS numbers via sign detection. It first computes the modular differences of the residues of the two RNS numbers, and , and then computes the sum of the results, ,which is then proven to be equal to zero. The final implementation of the technique requires the reverse conversion of . Then sign detection is performed on and the results determine whether or . Further analysis proves that the proposed scheme accurately compares the magnitude of any two RNS numbers, whether a signed or unsigned number. The proposed scheme was evaluated and compared with another state-of-the-art scheme based on three key matrices, Area, Delay and Area-Delay product. The proposed scheme outperformed the state-of-the-art scheme in all three-matrix evaluations.
Cited by 0
No indexed citations yet.
Related research
- Acceleration of Biological Sequence Alignment Using Residue Number System — shares topic coverage
- Residue Number System-Based Approach to Minimise Energy Consumption in Wireless Sensor Networks — shares topic coverage
- Modulus Computation-Based Techniques for Detecting and Correcting Transmission and Computation Errors in Residue Number System Architectures — shares topic coverage
Article metrics
Real usage data collected on this platform.
0
Page views
0
PDF downloads
0
Outbound clicks
0
Citations
Views by country
Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".
No views recorded yet.
Traffic sources
Referring site, by host.
No traffic recorded yet.
Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.