On modern processors, float division is a good order of magnitude slower than float multiplication (when measured by reciprocal throughput).
I'm wondering if there are any algorithms out there for computating a fast approximation to x/y
, given certain assumptions and tolerance levels. For example, if you assume that 0<x<y
, and are willing to accept any output that is within 10% of the true value, are there algorithms faster than the built-in FDIV operation?
I hope that this helps because this is probably as close as your going to get to what you are looking for.
See also:
Another post about reciprocal approximation.
The Wikipedia page.