x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r913105 = x;
double r913106 = y;
double r913107 = 1.0;
double r913108 = r913106 + r913107;
double r913109 = r913105 * r913108;
return r913109;
}
double f(double x, double y) {
double r913110 = x;
double r913111 = y;
double r913112 = r913110 * r913111;
double r913113 = 1.0;
double r913114 = r913113 * r913110;
double r913115 = r913112 + r913114;
return r913115;
}




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
Simplified0.0
Final simplification0.0
herbie shell --seed 2019350 +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)))