A High-Speed Division Algorithm for Modular Numbers Based on the Chinese Remainder Theorem with Fractions and Its Hardware Implementation
Nikolay Ivanovich Chervyakov, Pavel Alekseyevich Lyakhov, Mikhail Grigoryevich Babenko et al. · Electronics · 2019
In this paper, a new simplified iterative division algorithm for modular numbers that is optimized on the basis of the Chinese remainder theorem (CRT) with fractions is developed. It requires less computational resources than the CRT with integers and mixed radix number systems (MRNS). The main idea of the algorithm is (a) to transform the residual representation of the dividend and divisor into a weighted fixed-point code and (b) to find the higher power of 2 in the divisor written in a residue number system (RNS). This information is acquired using the CRT with fractions: higher power is defined by the number of zeros standing before the first significant digit. All intermediate calculations of the algorithm involve the operations of right shift and subtraction, which explains its good performance. Due to the abovementioned techniques, the algorithm has higher speed and consumes less computational resources, thereby being more appropriate for the multidigit division of modular numbers than the algorithms described earlier. The new algorithm suggested in this paper has O (log2 Q) iterations, where Q is the quotient. For multidigit numbers, its modular division complexity is Q(N), where N denotes the number of bits in a certain fraction required to restore the number by remainders. Since the number N is written in a weighed system, the subtraction-based comparison runs very fast. Hence, this algorithm might be the best currently available.
Cited by 14 works. doi:10.3390/electronics8030261 Open-access PDF
Authors
- Nikolay Ivanovich Chervyakov
- Pavel Alekseyevich Lyakhov
- Mikhail Grigoryevich Babenko
- Anton Nazarov
- Maxim Anatolievich Deryabin
- Лавриненко Ирина Николаевна
- A.V. Lavrinenko
References
- Residue arithmetic and its applications to computer technology
- Residue Number Systems
- A novel division algorithm for the residue number system
- Parallel DNA arithmetic operation based on n-moduli set
- A new residue number system division algorithm
- HORNS: A homomorphic encryption scheme for Cloud Computing using Residue Number System
- A New RNS based DA Approach for Inner Product Computation
- An approximate sign detection method for residue numbers and its application to RNS division
- Embedded Systems Design with Special Arithmetic and Number Systems
- An Approximate Method for Comparing Modular Numbers and its Application to the Division of Numbers in Residue Number Systems*