Floating Point vs Fixed Point

Hi!

I once tested fixed point and floating point on a P166 (well,

it was a AMD K6 166 actually), and I found out that fixed

point adding, subtracting, and multiplication was 4 times

faster as fixed point, but fixed point division was 4 times

SLOWER (thus 1/4 faster) than floating point.

By the way, all my code was pure 32 bits C++ (DJGPP),

except for the fixed point division, which I wrote in assembler.

And I used classes.

So if you don't use divisions very often, it's advisable to work

with fixed point if the program is supposed to run on computers

slower than a PII

I never tested it on a PII, but I think on a PII you're better of

using floating point

XtReMe