Jeremy Leach
Senior Member
Just a little website I found that is helpful when you are trying to work out the best way to multiply and divide without overflow..
http://www.apples4theteacher.com/prime-factors.html?num=115078&worksp=
Just to throw something else in too ... through a lot of trial an error, using this site, I've worked out that the best approximation for converting 'knots*10' to 'MPH*10', without overflow(as long as KNOTS10 <= 1000) is:
MPH10 = KNOTS10 * 64 / 50 * 32 / 17 * 16 / 67 * 2 !
http://www.apples4theteacher.com/prime-factors.html?num=115078&worksp=
Just to throw something else in too ... through a lot of trial an error, using this site, I've worked out that the best approximation for converting 'knots*10' to 'MPH*10', without overflow(as long as KNOTS10 <= 1000) is:
MPH10 = KNOTS10 * 64 / 50 * 32 / 17 * 16 / 67 * 2 !