THE ACCELERATED INTEGER GCD ALGORITHM

Authors
Citation
K. Weber, THE ACCELERATED INTEGER GCD ALGORITHM, ACM transactions on mathematical software, 21(1), 1995, pp. 111-122
Citations number
14
Categorie Soggetti
Computer Sciences",Mathematics
ISSN journal
00983500
Volume
21
Issue
1
Year of publication
1995
Pages
111 - 122
Database
ISI
SICI code
0098-3500(1995)21:1<111:TAIGA>2.0.ZU;2-B
Abstract
Since the greatest common divisor (GCD) of two integers is a basic ari thmetic operation used in many mathematical software systems, new algo rithms for its computation are of widespread interest. The accelerated integer GCD algorithm discussed here is based on a reduction step pro posed by Sorenson (k-ary reduction), coupled with the dmod operation s imilar to Norton's smod. Some practical limitations of Sorenson's redu ction have been eliminated. Worst-case complexity is still O(n(2)) for n-bit input, but actual implementations given input about 4096 bits l ong perform over 5.5 times as fast as the binary GCD on one computer a rchitecture having a multiply instruction. Independent research by Jeb elean points to the same conclusions.