You can increase the accuracy by increasing the size of the lookup table
from a
table of 8bit values to something bigger, as memory permits. Also,
another way
is to make the table as the encoder runs. At the beginning, you can
initialize
it
This kind of things is already done for pow(4/3) in many decoders: they create a table of about 1000 values, and then every pow(4/3) is computed using this table and a few multiplications (wich are in fact some shifts).
Btw I think that this discussion should move to mad-dev@lists.mars.org
Regards,
---- Gabriel Bouvigne www.mp3-tech.org personal page: http://gabriel.mp3-tech.org