x \cdot \left(y + 1\right)
1 \cdot x + x \cdot y
double f(double x, double y) {
double r37222092 = x;
double r37222093 = y;
double r37222094 = 1.0;
double r37222095 = r37222093 + r37222094;
double r37222096 = r37222092 * r37222095;
return r37222096;
}
double f(double x, double y) {
double r37222097 = 1.0;
double r37222098 = x;
double r37222099 = r37222097 * r37222098;
double r37222100 = y;
double r37222101 = r37222098 * r37222100;
double r37222102 = r37222099 + r37222101;
return r37222102;
}




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