x - \frac{3}{8} \cdot yx - \frac{3}{8} \cdot y(FPCore (x y) :precision binary64 (- x (* (/ 3.0 8.0) y)))
(FPCore (x y) :precision binary64 (- x (* (/ 3.0 8.0) y)))
double code(double x, double y) {
return ((double) (x - ((double) ((3.0 / 8.0) * y))));
}
double code(double x, double y) {
return ((double) (x - ((double) ((3.0 / 8.0) * y))));
}



Bits error versus x



Bits error versus y
Results
Initial program 0.1
Final simplification0.1
herbie shell --seed 2020198
(FPCore (x y)
:name "Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, A"
:precision binary64
(- x (* (/ 3.0 8.0) y)))