\left(x + y\right) + x
\left(x + y\right) + x
double f(double x, double y) {
double r416093 = x;
double r416094 = y;
double r416095 = r416093 + r416094;
double r416096 = r416095 + r416093;
return r416096;
}
double f(double x, double y) {
double r416097 = x;
double r416098 = y;
double r416099 = r416097 + r416098;
double r416100 = r416099 + r416097;
return r416100;
}




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