@article{Lyubomudrov_2020, title={AN APPROACH TO COMPARING NUMBER MODULES IN NUMBER SYSTEMS IN RESIDUAL}, volume={9}, url={https://ijact.joae.org/index.php/ijact/article/view/1230}, abstractNote={<p>The paper considers an approach to comparing the number modules represented in the number systems in residual classes (RNS), one of the bases of which is p<sub>n</sub> = 2<sup>k</sup>, where k = 2, 3, 4, .... The approach involves the following sequence of actions.</p> <p>The decrease in number modules |А| and |В| by a<sub>n</sub> and b<sub>n</sub>, respectively, where a<sub>n</sub> = rest|А| mod p<sub>n</sub> and b<sub>n</sub> = rest|B| mod p<sub>n</sub>. Next, access to the computer memory at the addresses (a<sub>1</sub>, a<sub>2</sub>, . . ., a<sub>n-1</sub>) and (b<sub>1</sub>, b<sub>2</sub>, . . . ., b<sub>n-1</sub>) and selection from the memory the high digits (without k low digits) of the modules |А| and |В| represented in the positional binary system by comparing the selected high digits of the modules. In this case, a larger module will correspond to larger high digits. If the high digits of the modules are equal then the lower digits are compared which coincide with the residues a<sub>n</sub> and b<sub>n</sub>. In this case, the largest of the lower digits will correspond to the larger module. With this approach, the memory required to store the compared modules when they are written in the positional binary number system is reduced by 2<sup>k</sup> times, and the word length of the stored words decreases by k binary digits. In addition, the low bit depth of the RNS bases allows the using of tabular calculation methods which increases the speed of calculations.</p> <p>Thus the proposed approach has a practical orientation and may be of interest to computer developers.</p>}, number={10}, journal={COMPUSOFT: An International Journal of Advanced Computer Technology}, author={Lyubomudrov, Alexey}, year={2020}, month={Oct.}, pages={3860-3862} }