x \cdot \left(y + 1\right)
x \cdot y + x \cdot 1
double f(double x, double y) {
double r211131165 = x;
double r211131166 = y;
double r211131167 = 1.0;
double r211131168 = r211131166 + r211131167;
double r211131169 = r211131165 * r211131168;
return r211131169;
}
double f(double x, double y) {
double r211131170 = x;
double r211131171 = y;
double r211131172 = r211131170 * r211131171;
double r211131173 = 1.0;
double r211131174 = r211131170 * r211131173;
double r211131175 = r211131172 + r211131174;
return r211131175;
}




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