Average Error: 0.1 → 0.1
Time: 3.5s
Precision: binary64
\[\]
\[\]
double code(double x, double y) {
	return ((double) (x - ((double) (((double) (3.0 / 8.0)) * y))));
}
double code(double x, double y) {
	return ((double) (x - ((double) (((double) (3.0 / 8.0)) * y))));
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\]
  2. Final simplification0.1

    \[\leadsto \]

Reproduce

herbie shell --seed 2020191 
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:quartForm  from diagrams-solve-0.1, A"
  :precision binary64
  (- x (* (/ 3.0 8.0) y)))