\left(x + y\right) + x
\left(x + y\right) + x
double f(double x, double y) {
double r561664 = x;
double r561665 = y;
double r561666 = r561664 + r561665;
double r561667 = r561666 + r561664;
return r561667;
}
double f(double x, double y) {
double r561668 = x;
double r561669 = y;
double r561670 = r561668 + r561669;
double r561671 = r561670 + r561668;
return r561671;
}




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 2019354
(FPCore (x y)
:name "Graphics.Rendering.Plot.Render.Plot.Legend:renderLegendOutside from plot-0.2.3.4, A"
:precision binary64
:herbie-target
(+ y (* 2 x))
(+ (+ x y) x))