|
ABSTRACT
Since the greatest common divisor (GCD) of two integers is a basic arithmetic operation used in many mathematical software systems, new algorithms for its computation are of widespread interest. The accelerated integer GCD algorithm discussed here is based on a reduction step proposed by Sorenson (k-ary reduction), coupled with the dmod operation similar to Norton's smod. Some practical limitations of Sorenson's reduction have been eliminated. Worst-case complexity is still O(n2) for n-bit input, but actual implementations given input about 4096 bits long perform over 5.5 times as fast as the binary GCD on one computer architecture having a multiply instruction. Independent research by Jebelean points to the same conclusions.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
GaANLUND, T. 1991. GNU MP: The GNU multiple precision arithmetic library, ed. 1.1, Free Software Foundation, Cambridge, Mass., Sept.
|
| |
3
|
HEWLETT-PACKARD. 1992. times(2) on-line manual page. HP~UX Release 9.0, Hewlett-Packard Company, Palo Alto, Calif., Aug.
|
| |
4
|
|
| |
5
|
JEBELEAN, T. 1993b. Comparing several GCD algorithms. In ARITH-11: IEEE Symposium on Computer Arithmetic (Windsor, Canada, June). IEEE, New York, 180-185.
|
 |
6
|
|
| |
7
|
|
| |
8
|
|
| |
9
|
SCH()NHAGE, A. 1971. Schnelle Berechnung yon Kettenbruchentwicklungen. Acta Informatica 1, 2, 139-144.
|
| |
10
|
|
| |
11
|
STALLMAN, R. 1991. Using and Porting GCC. Free Software Foundation, Cambridge, Mass
|
| |
12
|
SUN MICROSYSTEMS.1990. 9etrusage(2) on-line manual page. SunOS Release 4.1, Sun Microsystems, Meuntainview, Calif.
|
 |
13
|
|
| |
14
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
|