A unified approach in manipulation with modular arithmetic

M. Stojcev, E. Milovanovic, I. Milovanovic
{"title":"A unified approach in manipulation with modular arithmetic","authors":"M. Stojcev, E. Milovanovic, I. Milovanovic","doi":"10.1109/MIEL.2012.6222892","DOIUrl":null,"url":null,"abstract":"Modular arithmetic lets us carry out algebraic calculations on integers with a systematic disregard for terms divisible by a certain number (called the modulus). This kind of reduced algebra is essential background for the mathematics of computer science, coding theory, primality testing, and much more. In this paper we propose a unique approach for calculating “mod” operation, regardless of the signs of operands by which all ambiguities present in high level languages, such as C, Java, C++, Mathematica, Matlab, are overcome. Modular arithmetic is quite a useful tool in number theory. In particular, it can be used to obtain information about the solutions (or lack thereof) of a specific equation. In order to reduce the number of iteration steps during the calculation of g.c.d. and solving linear diophantine equations in two variables, based on Euclidian and extended Euclidian algorithm, we propose the usage of mod and mod operations.","PeriodicalId":396356,"journal":{"name":"2012 28th International Conference on Microelectronics Proceedings","volume":"9 2","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-05-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 28th International Conference on Microelectronics Proceedings","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MIEL.2012.6222892","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Modular arithmetic lets us carry out algebraic calculations on integers with a systematic disregard for terms divisible by a certain number (called the modulus). This kind of reduced algebra is essential background for the mathematics of computer science, coding theory, primality testing, and much more. In this paper we propose a unique approach for calculating “mod” operation, regardless of the signs of operands by which all ambiguities present in high level languages, such as C, Java, C++, Mathematica, Matlab, are overcome. Modular arithmetic is quite a useful tool in number theory. In particular, it can be used to obtain information about the solutions (or lack thereof) of a specific equation. In order to reduce the number of iteration steps during the calculation of g.c.d. and solving linear diophantine equations in two variables, based on Euclidian and extended Euclidian algorithm, we propose the usage of mod and mod operations.
一种统一的模运算方法
模算术允许我们对整数进行代数计算,而系统地忽略可被某个数整除的项(称为模数)。这种约简代数是计算机科学、编码理论、素数测试等数学基础。在本文中,我们提出了一种独特的方法来计算“mod”操作,而不考虑操作数的符号,通过该方法可以克服高级语言(如C, Java, c++, Mathematica, Matlab)中存在的所有歧义。模运算在数论中是一个非常有用的工具。特别是,它可以用来获得关于特定方程的解(或缺乏解)的信息。为了减少计算gcd和求解二元线性丢芬图方程的迭代步骤,在欧几里得算法和扩展欧几里得算法的基础上,提出了mod和mod运算的使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信