Gain = multiplication or even simpler, right bitshift if you onlyneed scaling...
R
Ray Andraka
Yes. It is easiest if the base is 2. For base 2 (ie. 2^x), separate off the fractional portion of x, look up the antilog of the fractional portion from a LUT, and then shift that by the integer part of x.
--
--Ray Andraka, P.E. President, the Andraka Consulting Group, Inc.