[A83] Re: help for a routine


[Prev][Next][Index][Thread]

[A83] Re: help for a routine




David Revelj writes:
> If it's speed you're after it might be a good idea to make a lookup
> table f= or the values 256/x, and then multiply by
> that...multiplications can be d= one quite fast.

I don't think that well help much, since almost all the values will be
fractional.  You would need fixed point to store them and with only 16 bits
you'd lose a lot of accuracy.  Though it all depends on exactly what you are
doing.

--
David Phillips <david@acz.org>
http://david.acz.org/




References: