Even for non-powers-of-two there are also techniques to speed up divisions if the same divisor is used repeatedly.
Even for non-powers-of-two there are also techniques to speed up divisions if the same divisor is used repeatedly.