Here's a solution which is vectorizable: http://gallium.inria.fr/blog/fast-vectorizable-math-approx/
I've also read that Chebyshev polynomials are far better for approximating functions than Taylor series (eg https://en.wikipedia.org/wiki/Approximation_theory)