x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r706680 = x;
double r706681 = y;
double r706682 = 1.0;
double r706683 = r706681 + r706682;
double r706684 = r706680 * r706683;
return r706684;
}
double f(double x, double y) {
double r706685 = x;
double r706686 = y;
double r706687 = r706685 * r706686;
double r706688 = 1.0;
double r706689 = r706688 * r706685;
double r706690 = r706687 + r706689;
return r706690;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied distribute-lft-in0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019323 +o rules:numerics
(FPCore (x y)
:name "Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, B"
:precision binary64
:herbie-target
(+ x (* x y))
(* x (+ y 1)))