Binary Karatsuba Multiplication

I recently looked at a amazing peice of simple mathmatics called Karatsuba's Multiplication. The orignal article went in depth proving that it does infact decrease the ammount of expencive opetation when multiplying numbers together.

This was an intristing descovery and when I though about it further I beleve that I can make it even faster than that in terms of a computer.

I will take his basic condition and improve on it

Assuming that the Base (B) is 2. We convert it in to

In doing so we convert simplify the power. If a number is raised to a power of 2 than it is just doing a binary shift.

Now you get:

Now lets break down X in to its parts.

And the same for Y.

Lets compute A

And C.

And finaly B

And plugging it back in

Show Comments