x \cdot \left(y + 1.0\right)
y \cdot x + 1.0 \cdot x
double f(double x, double y) {
double r37582178 = x;
double r37582179 = y;
double r37582180 = 1.0;
double r37582181 = r37582179 + r37582180;
double r37582182 = r37582178 * r37582181;
return r37582182;
}
double f(double x, double y) {
double r37582183 = y;
double r37582184 = x;
double r37582185 = r37582183 * r37582184;
double r37582186 = 1.0;
double r37582187 = r37582186 * r37582184;
double r37582188 = r37582185 + r37582187;
return r37582188;
}




Bits error versus x




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