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





Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Accuracy | 0.0 |
| Cost | 512 |
| Alternative 2 | |
|---|---|
| Accuracy | 0.3 |
| Cost | 384 |
Initial program 0.3
rmApplied diff-log_binary64_11930.0
rmApplied frac-2neg_binary64_11120.0
rmApplied neg-sub0_binary64_10960.0
Applied div-sub_binary64_11060.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020322
(FPCore (x)
:name "Jmat.Real.lambertw, estimator"
:precision binary64
(- (log x) (log (log x))))