\left(x + y\right) + x
x + \left(y + x\right)
double f(double x, double y) {
double r29247541 = x;
double r29247542 = y;
double r29247543 = r29247541 + r29247542;
double r29247544 = r29247543 + r29247541;
return r29247544;
}
double f(double x, double y) {
double r29247545 = x;
double r29247546 = y;
double r29247547 = r29247546 + r29247545;
double r29247548 = r29247545 + r29247547;
return r29247548;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0 |
| Herbie | 0.0 |
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019162
(FPCore (x y)
:name "Graphics.Rendering.Plot.Render.Plot.Legend:renderLegendOutside from plot-0.2.3.4, A"
:herbie-target
(+ y (* 2 x))
(+ (+ x y) x))