Fast multiplication and modulo operation

前端 未结 0 1706
半阙折子戏
半阙折子戏 2020-12-31 08:00

I need to compute:

x=(x*a+b)/2 % 2**128

many times. x,a,b are 128-bit numbers (choosed randomly). How to do it in fastest way? I thought abou

相关标签:
回答
  • 消灭零回复
提交回复
热议问题