\left(x + y\right) - x
y
double f(double x, double y) {
double r391765 = x;
double r391766 = y;
double r391767 = r391765 + r391766;
double r391768 = r391767 - r391765;
return r391768;
}
double f(double __attribute__((unused)) x, double y) {
double r391769 = y;
return r391769;
}




Bits error versus x




Bits error versus y
Results
| Original | 29.7 |
|---|---|
| Target | 0 |
| Herbie | 0 |
Initial program 29.7
Simplified0
Final simplification0
herbie shell --seed 2019196
(FPCore (x y)
:name "Graphics.Rendering.Chart.Plot.Pie:renderPie from Chart-1.5.3"
:herbie-target
(- y 0.0)
(- (+ x y) x))