\left(x + y\right) + x
\left(x + y\right) + x
double f(double x, double y) {
double r409975 = x;
double r409976 = y;
double r409977 = r409975 + r409976;
double r409978 = r409977 + r409975;
return r409978;
}
double f(double x, double y) {
double r409979 = x;
double r409980 = y;
double r409981 = r409979 + r409980;
double r409982 = r409981 + r409979;
return r409982;
}




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