x \cdot \left(y + 1\right)
x \cdot y + x \cdot 1
double f(double x, double y) {
double r766432 = x;
double r766433 = y;
double r766434 = 1.0;
double r766435 = r766433 + r766434;
double r766436 = r766432 * r766435;
return r766436;
}
double f(double x, double y) {
double r766437 = x;
double r766438 = y;
double r766439 = r766437 * r766438;
double r766440 = 1.0;
double r766441 = r766437 * r766440;
double r766442 = r766439 + r766441;
return r766442;
}




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 2020001 +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)))