\left(x + y\right) + x
y + 2 \cdot x
double f(double x, double y) {
double r26780093 = x;
double r26780094 = y;
double r26780095 = r26780093 + r26780094;
double r26780096 = r26780095 + r26780093;
return r26780096;
}
double f(double x, double y) {
double r26780097 = y;
double r26780098 = 2.0;
double r26780099 = x;
double r26780100 = r26780098 * r26780099;
double r26780101 = r26780097 + r26780100;
return r26780101;
}




Bits error versus x




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