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
-
G
General Problem Solver
Computer program created in 1959
Nº Q1387212 ★
Not listed
-
T
Turing's proof
Proof by Alan Turing
Nº Q7854954 ★
Not listed
-
Berlekamp–Massey algorithm
Algorithm
Nº Q821007 ★
Not listed
-
G
GGH encryption scheme
Lattice-based cryptosystem
Nº Q5513376 ★
Not listed
-
T
Takuzu
Logic puzzle
Nº Q1950892 ★★
Not listed
-
Abc conjecture
Number theory conjecture
Nº Q306393 ★★★★
Not listed
-
Lloyd's algorithm
Method for creating geometric centroidal tessellations from points
Nº Q2835805 ★
Not listed
-
Hilbert's eighth problem
On the distribution of prime numbers
Nº Q11059886 ★
Not listed
-
L
Limited-memory BFGS
Optimization algorithm
Nº Q6549489 ★★
Not listed
-
B
Boyer–Moore string-search algorithm
String searching algorithm
Nº Q895984 ★
Not listed
-
Smith–Waterman algorithm
Algorithm performs local sequence alignment
Nº Q1683352 ★
Not listed
-
Integer programming
Mathematical optimization problem in which variables are restricted to be integers
Nº Q6042592 ★★
Not listed
-
M
MECE principle
Organizing method developed by McKinsey
Nº Q1074664 ★★
Not listed
-
Halting problem
Problem of determining whether a given program will finish running or continue forever
Nº Q622849 ★★★
Not listed
-
Imaginary number
Complex number that can be written as a real number multiplied by i
Nº Q9165172 ★★★
Not listed
-
D
Dual EC DRBG
Controversial pseudorandom number generator
Nº Q309607 ★★
Not listed
-
CORDIC
Algorithm for computing trigonometric and hyperbolic functions
Nº Q116076 ★★
Not listed
-
Boyer–Moore majority vote algorithm
Low-space search for a majority element
Nº Q18814414 ★
Not listed