Average Error: 52.0 → 52.0
Time: 1.5s
Precision: binary64
\[\]
\[\]
\[\]
double code(double x, double y) {
	return ((double) (((double) (((double) (9.0 * ((double) pow(x, 4.0)))) - ((double) pow(y, 4.0)))) + ((double) (2.0 * ((double) (y * y))))));
}
double code(double x, double y) {
	return ((double) (((double) cbrt(((double) pow(((double) (((double) (9.0 * ((double) pow(x, 4.0)))) - ((double) pow(y, 4.0)))), 3.0)))) + ((double) (2.0 * ((double) (y * y))))));
}

Error

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 52.0

    \[\]
  2. Using strategy rm
  3. Applied add-cbrt-cube52.0

    \[\leadsto \]
  4. Simplified52.0

    \[\leadsto \]
  5. Final simplification52.0

    \[\leadsto \]

Reproduce

herbie shell --seed 2020192 
(FPCore (x y)
  :name "From Rump in a 1983 paper"
  :precision binary64
  :pre (and (== x 10864.0) (== y 18817.0))
  (+ (- (* 9.0 (pow x 4.0)) (pow y 4.0)) (* 2.0 (* y y))))