Cargando…
An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System
In this paper, we consider one of the key problems in modular arithmetic. It is known that scaling in the residue number system (RNS) is a rather complicated non-modular procedure, which requires expensive and complex operations at each iteration. Hence, it is time consuming and needs too much hardw...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9777657/ https://www.ncbi.nlm.nih.gov/pubmed/36554232 http://dx.doi.org/10.3390/e24121824 |
_version_ | 1784856159487787008 |
---|---|
author | Selianinau, Mikhail Povstenko, Yuriy |
author_facet | Selianinau, Mikhail Povstenko, Yuriy |
author_sort | Selianinau, Mikhail |
collection | PubMed |
description | In this paper, we consider one of the key problems in modular arithmetic. It is known that scaling in the residue number system (RNS) is a rather complicated non-modular procedure, which requires expensive and complex operations at each iteration. Hence, it is time consuming and needs too much hardware for implementation. We propose a novel approach to power-of-two scaling based on the Chinese Remainder Theorem (CRT) and rank form of the number representation in RNS. By using minimal redundancy of residue code, we optimize and speed up the rank calculation and parity determination of divisible integers in each iteration. The proposed enhancements make the power-of-two scaling simpler and faster than the currently known methods. After calculating the rank of the initial number, each iteration of modular scaling by two is performed in one modular clock cycle. The computational complexity of the proposed method of scaling by a constant [Formula: see text] associated with both required modular addition operations and lookup tables is estimeted as k and [Formula: see text] , respectively, where k equals the number of primary non-redundant RNS moduli. The time complexity is [Formula: see text] modular clock cycles. |
format | Online Article Text |
id | pubmed-9777657 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-97776572022-12-23 An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System Selianinau, Mikhail Povstenko, Yuriy Entropy (Basel) Article In this paper, we consider one of the key problems in modular arithmetic. It is known that scaling in the residue number system (RNS) is a rather complicated non-modular procedure, which requires expensive and complex operations at each iteration. Hence, it is time consuming and needs too much hardware for implementation. We propose a novel approach to power-of-two scaling based on the Chinese Remainder Theorem (CRT) and rank form of the number representation in RNS. By using minimal redundancy of residue code, we optimize and speed up the rank calculation and parity determination of divisible integers in each iteration. The proposed enhancements make the power-of-two scaling simpler and faster than the currently known methods. After calculating the rank of the initial number, each iteration of modular scaling by two is performed in one modular clock cycle. The computational complexity of the proposed method of scaling by a constant [Formula: see text] associated with both required modular addition operations and lookup tables is estimeted as k and [Formula: see text] , respectively, where k equals the number of primary non-redundant RNS moduli. The time complexity is [Formula: see text] modular clock cycles. MDPI 2022-12-14 /pmc/articles/PMC9777657/ /pubmed/36554232 http://dx.doi.org/10.3390/e24121824 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Selianinau, Mikhail Povstenko, Yuriy An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System |
title | An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System |
title_full | An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System |
title_fullStr | An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System |
title_full_unstemmed | An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System |
title_short | An Efficient CRT-Base Power-of-Two Scaling in Minimally Redundant Residue Number System |
title_sort | efficient crt-base power-of-two scaling in minimally redundant residue number system |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9777657/ https://www.ncbi.nlm.nih.gov/pubmed/36554232 http://dx.doi.org/10.3390/e24121824 |
work_keys_str_mv | AT selianinaumikhail anefficientcrtbasepoweroftwoscalinginminimallyredundantresiduenumbersystem AT povstenkoyuriy anefficientcrtbasepoweroftwoscalinginminimallyredundantresiduenumbersystem AT selianinaumikhail efficientcrtbasepoweroftwoscalinginminimallyredundantresiduenumbersystem AT povstenkoyuriy efficientcrtbasepoweroftwoscalinginminimallyredundantresiduenumbersystem |