log10(x) = log10e * log(x). This fixes some small (one or two ULP) inaccuracies. Found by: ucbtest
Obtained from: netlib.att.com