I'm working on a project for which I need a very fast & vectorizableapproximation of the exp function, accurate to say 0.1% or so. I've tried to use the approximate math library, but that appears to be Windows-specific. (I did hack around a bit and get a version that would compile, but it causes a segfault sometime after the am_exp_ps call returns.)
Would anyone know if a) there's a Linux version around somewhere; b) what needs to be done to convert the Windows code; or c) the source of the algorithm used, so I can code it myself?
Approximate math library for Linux? Or exp function algorithm?