for multiplcation, you will get bit growth 75% of the time - when X OR Y >= (2**N /2)
For addition, you get bit growth only 49% of the time, when X + Y >= 2**N
So on the basis of statistics, it makes sense to always bit grow multiplication, but not addition.
- - - Updated - - -
for multiplcation, you will get bit growth 75% of the time - when X OR Y >= (2**N /2)
For addition, you get bit growth only 49% of the time, when X + Y >= 2**N
So on the basis of statistics, it makes sense to always bit grow multiplication, but not addition.
The above is slightly wrong:
Actually %age for addition is always less than 50%. If you draw the karnaugh map for bit growth with 2 x 2bit numbers, the bit growth does not occur from one corner to another.
Probability of bit growth :
( (sum(x-1) from 1 to 2**N) / (2**N)**2 ) * 100
This is always less than 50%.
I cant work out the multiplication case as it is rather complicated, and N is a factor in the %age. Eg. for 1 bit x 1bit, there is never any bit growth, for 2 bits bit growth only occurs 25% of the time, but for 3 bits it is 33 / 64, which is just greater than 50%, and this is increased again at 4 bits.