\log x - \log \log x
\log \left(\frac{x}{-\log \left(\frac{1}{x}\right)}\right)
(FPCore (x) :precision binary64 (- (log x) (log (log x))))
(FPCore (x) :precision binary64 (log (/ x (- (log (/ 1.0 x))))))
double code(double x) {
return log(x) - log(log(x));
}
double code(double x) {
return log(x / -log(1.0 / x));
}



Bits error versus x
Results
Initial program 0.3
Taylor expanded in x around inf 0.3
Applied diff-log_binary640.0
Final simplification0.0
herbie shell --seed 2021280
(FPCore (x)
:name "Jmat.Real.lambertw, estimator"
:precision binary64
(- (log x) (log (log x))))