Average Error: 0.0 → 0.0
Time: 8.6s
Precision: 64
\[\frac{\log \left(x + 10\right)}{2}\]
\[\frac{\log \left(x + 10\right)}{2}\]
\frac{\log \left(x + 10\right)}{2}
\frac{\log \left(x + 10\right)}{2}
double f(double x) {
        double r36436163 = x;
        double r36436164 = 10.0;
        double r36436165 = r36436163 + r36436164;
        double r36436166 = log(r36436165);
        double r36436167 = 2.0;
        double r36436168 = r36436166 / r36436167;
        return r36436168;
}

double f(double x) {
        double r36436169 = x;
        double r36436170 = 10.0;
        double r36436171 = r36436169 + r36436170;
        double r36436172 = log(r36436171);
        double r36436173 = 2.0;
        double r36436174 = r36436172 / r36436173;
        return r36436174;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{\log \left(x + 10\right)}{2}\]
  2. Final simplification0.0

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

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "log(x+10)/2"
  (/ (log (+ x 10.0)) 2.0))