• Home
  • Search
  • Сравнение чисел и анализ переполнения в модулярной арифметике
  • https://doi.org/10.17212/2782-2001-2021-3-75-86Copy DOI Icon

Сравнение чисел и анализ переполнения в модулярной арифметике

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

The method of modular arithmetic consists in operating not with a number, but with its remainders after division by some integers. In the modular number system or the number system in the residual classes, a multi-bit integer in the positional number system is represented as a sequence of several positional numbers. These numbers are the remainders (residues) of dividing the original number into some modules that are mutually prime integers. The advantage of the modular representation is that it is very simple to perform addition, subtraction and multiplication operations. In parallel execution of operations, the use of modular arithmetic can significantly reduce the computation time. However, there are drawbacks to modular representation that limit its use. These include a slow conversion of numbers from modular to positional representation; the complexity of comparing numbers in modular representation; the difficulty in performing the division operation; and the difficulty of determining the presence of an overflow. The use of modular arithmetic is justified if there are fast algorithms for calculating a number from a set of remainders. This article describes a fast algorithm for converting numbers from modular representation to positional representation based on a geometric approach. The review is carried out for the case of a comparison system with two modules. It is also shown that as a result of increasing numbers in positional calculus, they successively change in a spiral on the surface of a two-dimensional torus. Based on this approach, a fast algorithm for comparing numbers and an algorithm for detecting an overflow during addition and multiplication of numbers in modular representation were developed. Consideration for the multidimensional case is possible when analyzing a multidimensional torus and studying the behavior of the turns on its surface.

Similar Papers
  • Book Chapter
  • Citations1

Cyberspace protection system based on the data comparison method

  • Jan 01, 2023
  • Victor Krasnobayev +5
  • Research Article
  • Citations5

Digital Logic and Arithmetic: Background for Interfacing Microcomputers

  • Mar 01, 1980
  • A I I E Transactions
  • Roger W Berger
  • Research Article
  • Citations7

Fourth-Grade Pupils Study a Number System with Base Five

  • Oct 01, 1963
  • The Journal of Educational Research
  • Harold H Lerch
  • Conference Article
  • Citations10

Fault Tolerance Computer System Structures Functioning in Residue Classes

  • Sep 22, 2021
  • Victor Krasnobaev +3
  • Conference Article
  • Citations22

Redundant complex number arithmetic for high-speed signal processing

  • Oct 16, 1995
  • T Aoki +2
  • Research Article
  • Citations41

Introduction to the Role of Redundancy in Computer Arithmetic

  • Jun 01, 1975
  • Computer
  • D.E Atkins
  • Research Article

An Approach to Dividing Modules of Numbers by the Values of Bases in Number Systems in Residual Classes

  • Jul 10, 2021
  • Revista Gestão Inovação e Tecnologias
  • Alexey Alexeevich Lyubomudrov
  • PDF
  • Research Article
  • Citations1

Using a digit grid when studying theme "Number systems"

  • Jun 05, 2023
  • Informatics in school
  • N I Zavodchikova
  • Research Article
  • Citations15

Simple arithmetic processing: Surface form effects in a priming task

  • Jul 14, 2006
  • Acta Psychologica
  • Natalie Jackson +1
  • Book Chapter

Chapter 2 - VECTOR ALGEBRA

  • Jan 01, 1984
  • International Edition University Physics
  • George B Arfken +3
  • Research Article
  • Citations8

A versatile Montgomery multiplier architecture with characteristic three support

  • Sep 03, 2008
  • Computers and Electrical Engineering
  • E Öztürk +2
  • Research Article

Pengenalan Alat Peraga Dasar Matematika Kepada Siswa Sekolah Dasar (SD)

  • Jan 30, 2021
  • Journal of Dedicators Community
  • Irvana Arofah +1
  • PDF
  • Research Article
  • Citations1

Web quests as a means of forming digital competence of schoolchildren

  • Jun 05, 2023
  • Informatics in school
  • E S Vaseva +2
  • Conference Article
  • Citations5

Design of High Precision Radix-8 MAF Unit with Reduced Latency

  • Jun 01, 2020
  • 2020 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA)
  • Bayadir A Issa +5
  • Research Article

A poor person's approximation to π

  • Nov 01, 2012
  • The Mathematical Gazette
  • Daniel Shiu +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.