\frac{2 \cdot x}{\frac{2}{y}}x \cdot y
double code(double x, double y) {
return ((double) (((double) (2.0 * x)) / ((double) (2.0 / y))));
}
double code(double x, double y) {
return ((double) (x * y));
}



Bits error versus x



Bits error versus y
Results
Initial program 0.3
Simplified0
Final simplification0
herbie shell --seed 2020153
(FPCore (x y)
:name "(/ (* 2 x) (/ 2 y))"
:precision binary64
(/ (* 2.0 x) (/ 2.0 y)))