Average Error: 41.5 → 41.5
Time: 2.4s
Precision: binary64
\[\frac{1}{\log \left(1 + x\right)}\]
\[\frac{1}{\log \left(1 + x\right)}\]
\frac{1}{\log \left(1 + x\right)}
\frac{1}{\log \left(1 + x\right)}
double code(double x) {
	return ((double) (1.0 / ((double) log(((double) (1.0 + x))))));
}
double code(double x) {
	return ((double) (1.0 / ((double) log(((double) (1.0 + x))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 41.5

    \[\frac{1}{\log \left(1 + x\right)}\]
  2. Final simplification41.5

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

Reproduce

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