\left(x + y\right) + x
y + 2 \cdot x
double f(double x, double y) {
double r27737785 = x;
double r27737786 = y;
double r27737787 = r27737785 + r27737786;
double r27737788 = r27737787 + r27737785;
return r27737788;
}
double f(double x, double y) {
double r27737789 = y;
double r27737790 = 2.0;
double r27737791 = x;
double r27737792 = r27737790 * r27737791;
double r27737793 = r27737789 + r27737792;
return r27737793;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0 |
| Herbie | 0 |
Initial program 0.0
rmApplied add-sqr-sqrt31.9
Taylor expanded around 0 0
Final simplification0
herbie shell --seed 2019163
(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))