Binary GCD algorithm
Algorithm that computes the greatest common divisor of two integers using only arithmetic shifts, comparisons, and subtraction
The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor (GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction.
Nº Q622328 ★
Common · Knowledge
Binary GCD algorithm
Algorithm that computes the greatest common divisor of two integers using only arithmetic shifts, comparisons, and subtraction
The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor (GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction.
From Wikipedia
The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor (GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction. Although the algorithm in its contemporary form was first published by the physicist and programmer Josef Stein in 1967, it was known by the 2nd century BCE, in ancient China.
Text: Wikipédia, CC BY-SA 4.0. · Image: Cmglee (CC BY-SA 3.0) ·
Related cards
-
Gram–Schmidt process
Method for orthonormalising a set of vectors
Nº Q475239 ★★★
Not listed
-
R
Ramer–Douglas–Peucker algorithm
Line simplification algorithm
Nº Q1251950 ★★★
Not listed
-
B
Bremermann's limit
Highest possible rate of computation in this universe
Nº Q908016 ★
Not listed
-
S
Stein's lemma
Theorem of probability theory
Nº Q7606741 ★
Not listed
-
Bézout's theorem
Theorem calculating the number of intersection points of two algebraic curves in terms of their degrees
Nº Q1542114 ★
Not listed
-
Bitonic sorter
Sorting algorithm
Nº Q4918918 ★
Not listed
-
S
Szpiro's conjecture
Conjecture in number theory
Nº Q829242 ★
Not listed
-
M
Minkowski's theorem
Symmetric convex set
Nº Q1097021 ★
Not listed
-
R
Remez algorithm
Algorithm to approximate functions
Nº Q2835816 ★
Not listed
-
C
Cramér's conjecture
Conjecture
Nº Q515591 ★
Not listed
-
G
Goertzel algorithm
Algorithm
Nº Q1472192 ★★
Not listed
-
P
Predicative programming
Method of computer program specification
Nº Q7239635 ★
Not listed
-
Computational geometry
Branch of computer science
Nº Q874709 ★
Not listed
-
Bibi-binary
Hexadecimal numeral system first described in 1968 by singer/mathematician Robert "Boby" Lapointe
Nº Q3346314 ★★
Not listed
-
B
Blossom algorithm
Algorithm for constructing maximum matchings on a graph
Nº Q1030529 ★
Not listed
-
V
Viterbi algorithm
Algorithm
Nº Q83886 ★★
Not listed
-
K
Kosaraju's algorithm
Algorithm to find the strongly connected component of a directed graph
Nº Q2655281 ★
Not listed
-
Synthetic division
Algorithm for Euclidean division of polynomials
Nº Q7662748 ★
Not listed