x + y \cdot 5
x + y \cdot 5
double code(double x, double y) {
return ((double) (x + ((double) (y * 5.0))));
}
double code(double x, double y) {
return ((double) (x + ((double) (y * 5.0))));
}



Bits error versus x



Bits error versus y
Results
Initial program 0.1
Final simplification0.1
herbie shell --seed 2020153
(FPCore (x y)
:name "(+ x (* y 5))"
:precision binary64
(+ x (* y 5.0)))