I'm interested how to do this, because I just found out you can do integer multiplication easily, by using left shift operators:
x * 25 = (x << 4) + (x << 3) + x
Where the sum of base 2 powers equals to 25: 2^4+2^3+2^0 = 25
How does x / 25
work out with right shifts?
Edit: I'm not going to replace division and multiplication in my programs by these shift operators in hope of speed boost ;)