Average Error: 41.2 → 41.2
Time: 2.2s
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.2

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

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

Reproduce

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