I\'m looking for an approximation of the natural exponential function operating on SSE element. Namely - __m128 exp( __m128 x ).
I have an implementat
There is a paper about creating fast versions of these equations (tanh, cosh, artanh, sinh, etc):
http://ijeais.org/wp-content/uploads/2018/07/IJAER180702.pdf "Creating a Compiler Optimized Inlineable Implementation of Intel Svml Simd Intrinsics"
their tanh equation 6, on page 9 is very similar to @NicSchraudolph answer