> The midpoint (in terms of the error) is:  .5 * (1 + 2.52) = 1.76.
> So if x<1.76, we should take i=1 and if x>1.76 we take i=2.

I think that for this kind of test, something like:
i=(int)(x^.75+.5)
would be faster than a comparison, and produces the same output.

Btw do you have any explanation about how .4054 could be optimal for any
value?

Regards,


Gabriel Bouvigne - France
[EMAIL PROTECTED]
icq: 12138873

MP3' Tech: www.mp3tech.org


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to