x \cdot \left(y + 1\right)
x \cdot y + x \cdot 1
double f(double x, double y) {
double r896890 = x;
double r896891 = y;
double r896892 = 1.0;
double r896893 = r896891 + r896892;
double r896894 = r896890 * r896893;
return r896894;
}
double f(double x, double y) {
double r896895 = x;
double r896896 = y;
double r896897 = r896895 * r896896;
double r896898 = 1.0;
double r896899 = r896895 * r896898;
double r896900 = r896897 + r896899;
return r896900;
}




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
Final simplification0.0
herbie shell --seed 2020065
(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)))