Split Multiplication of integers

前端 未结 4 1747
挽巷
挽巷 2020-12-20 07:52

I need an algorithm that uses two 32-bit integers as parameters, and returns the multiplication of these parameters split into two other 32-bit integers: 32-highest-bits par

4条回答
  •  失恋的感觉
    2020-12-20 08:34

    This is the explanation and an implementation of the Karatsubas-Algorithm. I have downloaded the code and ran it several times. It seems that it's doing well. You can modify the code according to your need.

提交回复
热议问题