Average Error: 0.4 → 0.1
Time: 908.0ms
Precision: binary64
\[\frac{1}{\left(\left(x \cdot x\right) \cdot x\right) \cdot x}\]
\[\frac{\frac{1}{x}}{{x}^{3}}\]
\frac{1}{\left(\left(x \cdot x\right) \cdot x\right) \cdot x}
\frac{\frac{1}{x}}{{x}^{3}}
double code(double x) {
	return ((double) (1.0 / ((double) (((double) (((double) (x * x)) * x)) * x))));
}
double code(double x) {
	return ((double) (((double) (1.0 / x)) / ((double) pow(x, 3.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.4

    \[\frac{1}{\left(\left(x \cdot x\right) \cdot x\right) \cdot x}\]
  2. Simplified0.1

    \[\leadsto \color{blue}{\frac{\frac{1}{x}}{{x}^{3}}}\]
  3. Final simplification0.1

    \[\leadsto \frac{\frac{1}{x}}{{x}^{3}}\]

Reproduce

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