\left(x + y\right) + x
x + \left(y + x\right)
double f(double x, double y) {
double r10784927 = x;
double r10784928 = y;
double r10784929 = r10784927 + r10784928;
double r10784930 = r10784929 + r10784927;
return r10784930;
}
double f(double x, double y) {
double r10784931 = x;
double r10784932 = y;
double r10784933 = r10784932 + r10784931;
double r10784934 = r10784931 + r10784933;
return r10784934;
}




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 2019156
(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))