c – Fastest Implementation of the Natural Exponential Function Using SSE
The C code below is a translation into SSE intrinsics of an algorithm I used in a previous answer to a similar question. The basic idea is to transform the computation of the standard exponential function into computation of a power of 2: expf (x) = exp2f (x / logf (2.0f)) = exp2f (x * … Read more