\left(x + y\right) + x
\left(x + y\right) + x
double f(double x, double y) {
double r654954 = x;
double r654955 = y;
double r654956 = r654954 + r654955;
double r654957 = r654956 + r654954;
return r654957;
}
double f(double x, double y) {
double r654958 = x;
double r654959 = y;
double r654960 = r654958 + r654959;
double r654961 = r654960 + r654958;
return r654961;
}




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