|
Binary GCD Algorithm
|
|
12-25-2009, 06:50 AM
Post: #1
|
|||
|
|||
|
Binary GCD Algorithm
This is an interesting algorithm for finding the greatest common divisor. I already explained Euclid Algorithm here :
http://www.pro9ramming.com/the-biggest-gcd-t-596.html But now i am going to use binary GCD algorithm. More about that you have here : http://en.wikipedia.org/wiki/Binary_GCD_algorithm And i have solution in C++ : Code: # include <iostream>There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
« Next Oldest | Next Newest »
|





