Average Error: 0.3 → 0.0
Time: 6.3s
Precision: 64
\[\log x - \log \left(\log x\right)\]
\[\log \left(\frac{x}{\log x}\right)\]
\log x - \log \left(\log x\right)
\log \left(\frac{x}{\log x}\right)
double f(double x) {
        double r1446856 = x;
        double r1446857 = log(r1446856);
        double r1446858 = log(r1446857);
        double r1446859 = r1446857 - r1446858;
        return r1446859;
}

double f(double x) {
        double r1446860 = x;
        double r1446861 = log(r1446860);
        double r1446862 = r1446860 / r1446861;
        double r1446863 = log(r1446862);
        return r1446863;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[\log x - \log \left(\log x\right)\]
  2. Using strategy rm
  3. Applied diff-log0.0

    \[\leadsto \color{blue}{\log \left(\frac{x}{\log x}\right)}\]
  4. Final simplification0.0

    \[\leadsto \log \left(\frac{x}{\log x}\right)\]

Reproduce

herbie shell --seed 2019156 
(FPCore (x)
  :name "Jmat.Real.lambertw, estimator"
  (- (log x) (log (log x))))