Re: best division factor
Hello,
I first divided your number into two parts :0.625 and 0.00036 .The 0.625 part equals 5/8 which can be considered as 1/2 + 1/8 hence the shift by 1 and 3 bits .
For .0036, the nearest number I could find was 1/2^12 which is .000244 .If you add also 1/2^13 ,you'll get 1/2^12 + 1/2^13 = 0.000366 ,I've just noticed that now .
So, to get the required number ,shift by 1,3,12 and 13 bits then add .
I hope that this combination gives satisfactory results to you .