A new approach to infinite precision integer arithmetic

ACM-SE 14 Pub Date : 1976-04-22 DOI:10.1145/503561.503581
D. A. Klip
{"title":"A new approach to infinite precision integer arithmetic","authors":"D. A. Klip","doi":"10.1145/503561.503581","DOIUrl":null,"url":null,"abstract":"A new algorithm for integer Greatest Common Divisor calculations has recently been proposed. Although the algorithm can be applied to integers in any base b > 2, it is conjectured to be optimal for b=30, when embedded in a system for symbol manipulation. Representation of the digits in factored form further facilitates the GCD procedure. When choosing the set of residues mod 30 symmetrically with respect to 0, in only 8 out of 29 elements a factor occurs which is different from 2, 3 and 5, the prime divisors of 30. A multiplication and addition table built on the distinction of these two classes of digits will be the intermediary in finding the product in a small number of steps, each involving comparison of 1 or 2 bit quantities. Multiplication in this fashion requires 1/3 of the number of bit manipulations as compared with standard procedures on IBM System/360 and 370, if the latter would be applied to equivalent (i.e. 5-bit) entities. Future implementation of long-integer multiplication is suggested in analogy with an algorithm for multivariate polynomial multiplication. An outline for division on this new basis is included.","PeriodicalId":151957,"journal":{"name":"ACM-SE 14","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1976-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 14","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503561.503581","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

A new algorithm for integer Greatest Common Divisor calculations has recently been proposed. Although the algorithm can be applied to integers in any base b > 2, it is conjectured to be optimal for b=30, when embedded in a system for symbol manipulation. Representation of the digits in factored form further facilitates the GCD procedure. When choosing the set of residues mod 30 symmetrically with respect to 0, in only 8 out of 29 elements a factor occurs which is different from 2, 3 and 5, the prime divisors of 30. A multiplication and addition table built on the distinction of these two classes of digits will be the intermediary in finding the product in a small number of steps, each involving comparison of 1 or 2 bit quantities. Multiplication in this fashion requires 1/3 of the number of bit manipulations as compared with standard procedures on IBM System/360 and 370, if the latter would be applied to equivalent (i.e. 5-bit) entities. Future implementation of long-integer multiplication is suggested in analogy with an algorithm for multivariate polynomial multiplication. An outline for division on this new basis is included.
无限精度整数运算的一种新方法
最近提出了一种计算整数最大公约数的新算法。虽然该算法可以应用于任何进制b的整数,但据推测,当嵌入到符号操作系统中时,它对b=30最优。以因子形式表示数字进一步简化了GCD程序。当选择30对0对称模取余数的集合时,在29个元素中,只有8个元素的因子不同于30的质因数2、3和5。建立在这两类数字的区别上的乘法和加法表将是在少量步骤中找到乘积的中介,每个步骤涉及1或2位数量的比较。与IBM System/360和370上的标准过程相比,这种方式的乘法只需要1/3的位操作次数,如果后者应用于等效(即5位)实体的话。长整数乘法的未来实现建议与多元多项式乘法的算法类比。在这个新的基础上划分的大纲也包括在内。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信