Intel engineer and open-source compiler expert H.J. Lu has landed a much faster log2() implementation within the GNU C Library (glibc) that makes use of FMA instructions with modern x86_64 CPUs…
Source: Phoronix – Glibc log2 Function Up To 69% Faster Thanks To FMA