Average Error: 0 → 0
Time: 591.0ms
Precision: binary64
\[\frac{\frac{\frac{\frac{1}{1}}{1}}{1}}{x}\]
\[\frac{1}{\left(x \cdot 1\right) \cdot 1}\]
\frac{\frac{\frac{\frac{1}{1}}{1}}{1}}{x}
\frac{1}{\left(x \cdot 1\right) \cdot 1}
double code(double x) {
	return ((double) (((double) (((double) (((double) (1.0 / 1.0)) / 1.0)) / 1.0)) / x));
}
double code(double x) {
	return ((double) (1.0 / ((double) (((double) (x * 1.0)) * 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 0

    \[\frac{\frac{\frac{\frac{1}{1}}{1}}{1}}{x}\]
  2. Simplified0

    \[\leadsto \color{blue}{\frac{1}{\left(x \cdot 1\right) \cdot 1}}\]
  3. Final simplification0

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

Reproduce

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