muttiah@stable.ecn.purdue.edu (Ranjan S Muttiah) (06/09/91)
Is there a fast way to evaluate e^-x (using table look ups) than having to use exp(.) in c ? I have to call the exponential many times and looking for ways to save time.
jpenne@ee.ualberta.ca (Jerry Penner) (06/09/91)
In article <1991Jun9.071214.2073@noose.ecn.purdue.edu> muttiah@stable.ecn.purdue.edu (Ranjan S Muttiah) writes: > >Is there a fast way to evaluate e^-x (using table look ups) than having to >use exp(.) in c ? I have to call the exponential many times and looking for >ways to save time. Yes, use CORDIC algorithms. These beasties usually use fixed point arithmetic. A recent issue of Dr. Dobbs Journal (hopefully available at your library) gives a description and source code. They don't use table lookups but are fast. -- Jerry Penner | jpenne@bode.ee.ualberta.ca Edmonton, Alberta, Canada | OR alberta!bode!jpenne