x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r543558 = x;
double r543559 = y;
double r543560 = 1.0;
double r543561 = r543559 + r543560;
double r543562 = r543558 * r543561;
return r543562;
}
double f(double x, double y) {
double r543563 = x;
double r543564 = y;
double r543565 = r543563 * r543564;
double r543566 = 1.0;
double r543567 = r543566 * r543563;
double r543568 = r543565 + r543567;
return r543568;
}




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 2019212
(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)))