#28003 - DiscoStew - Mon Oct 25, 2004 10:40 pm
There have been numerous ways to do division, like bit-shifting to powers of 2, multiplying by a constant recipricol, and ASM. But here is a question...
What if the dividend is the constant, and the divisor is not a constant? Is there a fast way to figure out the result? It's simple is the divisor is still a power of 2, but what if it isn't?
_________________
DS - It's all about DiscoStew
What if the dividend is the constant, and the divisor is not a constant? Is there a fast way to figure out the result? It's simple is the divisor is still a power of 2, but what if it isn't?
_________________
DS - It's all about DiscoStew