Average Error: 61.3 → 0
Time: 13.4s
Precision: 64
\[\frac{a}{\log \left(e^{a}\right)}\]
\[\frac{a}{a}\]
\frac{a}{\log \left(e^{a}\right)}
\frac{a}{a}
double f(double a) {
        double r2156241 = a;
        double r2156242 = exp(r2156241);
        double r2156243 = log(r2156242);
        double r2156244 = r2156241 / r2156243;
        return r2156244;
}

double f(double a) {
        double r2156245 = a;
        double r2156246 = r2156245 / r2156245;
        return r2156246;
}

Error

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 61.3

    \[\frac{a}{\log \left(e^{a}\right)}\]
  2. Simplified0

    \[\leadsto \color{blue}{\frac{a}{a}}\]
  3. Final simplification0

    \[\leadsto \frac{a}{a}\]

Reproduce

herbie shell --seed 1 
(FPCore (a)
  :name "a/(log(exp(a)))"
  :precision binary64
  (/ a (log (exp a))))