Average Error: 13.7 → 13.7
Time: 777.0ms
Precision: binary64
\[\frac{{\left(x + x\right)}^{3}}{x}\]
\[\frac{{\left(x + x\right)}^{3}}{x}\]
\frac{{\left(x + x\right)}^{3}}{x}
\frac{{\left(x + x\right)}^{3}}{x}
double code(double x) {
	return ((double) (((double) pow(((double) (x + x)), 3.0)) / x));
}
double code(double x) {
	return ((double) (((double) pow(((double) (x + x)), 3.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 13.7

    \[\frac{{\left(x + x\right)}^{3}}{x}\]
  2. Final simplification13.7

    \[\leadsto \frac{{\left(x + x\right)}^{3}}{x}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ (pow (+ x x) 3) x)"
  :precision binary64
  (/ (pow (+ x x) 3.0) x))