Average Error: 38.9 → 38.9
Time: 2.9s
Precision: binary64
\[\frac{\log \left(x + 1\right)}{e^{x - 1}}\]
\[\frac{\log \left(x + 1\right)}{e^{x - 1}}\]
\frac{\log \left(x + 1\right)}{e^{x - 1}}
\frac{\log \left(x + 1\right)}{e^{x - 1}}
double code(double x) {
	return ((double) (((double) log(((double) (x + 1.0)))) / ((double) exp(((double) (x - 1.0))))));
}
double code(double x) {
	return ((double) (((double) log(((double) (x + 1.0)))) / ((double) exp(((double) (x - 1.0))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 38.9

    \[\frac{\log \left(x + 1\right)}{e^{x - 1}}\]
  2. Final simplification38.9

    \[\leadsto \frac{\log \left(x + 1\right)}{e^{x - 1}}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ (log (+ x 1)) (exp (- x 1)))"
  :precision binary64
  (/ (log (+ x 1.0)) (exp (- x 1.0))))