x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r42805769 = x;
double r42805770 = y;
double r42805771 = 1.0;
double r42805772 = r42805770 + r42805771;
double r42805773 = r42805769 * r42805772;
return r42805773;
}
double f(double x, double y) {
double r42805774 = x;
double r42805775 = y;
double r42805776 = r42805774 * r42805775;
double r42805777 = 1.0;
double r42805778 = r42805777 * r42805774;
double r42805779 = r42805776 + r42805778;
return r42805779;
}




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 2019169
(FPCore (x y)
:name "Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, B"
:herbie-target
(+ x (* x y))
(* x (+ y 1.0)))