How can I multipy two integers using bitwise operators?
I found an implementation here. Is there a better way of implementing multiplication?
For example: 2 * 6 = 12 must be performed using bitwise operators.
NOTE: Numbers are arbitrary, not power of 2
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…