Lines Matching full:log10
1 //===-- Single-precision log10(x) function --------------------------------===//
22 // This is an algorithm for log10(x) in single precision which is
24 // log10(x) from the RLIBM project at:
28 // For x = 2^m * 1.mant, log(x) = m * log10(2) + log10(1.m)
36 // log10(1.mant) = log10(f) + log10(1.mant / f)
37 // = log10(f) + log10(1 + d/f)
38 // ~ log10(f) + P(d/f)
40 // log10(f) and 1/f are then stored in two 2^7 = 128 entries look-up tables.
60 // Lookup table for -log10(r) where r is defined in common_constants.cpp.
204 // Degree-5 polynomial approximation of log10 generated by:
205 // > P = fpminimax(log10(1 + x)/x, 4, [|D...|], [-2^-8, 2^-7]);