x \cdot \left(y + 1.0\right)
y \cdot x + 1.0 \cdot x
double f(double x, double y) {
double r40483979 = x;
double r40483980 = y;
double r40483981 = 1.0;
double r40483982 = r40483980 + r40483981;
double r40483983 = r40483979 * r40483982;
return r40483983;
}
double f(double x, double y) {
double r40483984 = y;
double r40483985 = x;
double r40483986 = r40483984 * r40483985;
double r40483987 = 1.0;
double r40483988 = r40483987 * r40483985;
double r40483989 = r40483986 + r40483988;
return r40483989;
}




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
(FPCore (x y)
:name "Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, B"
:herbie-target
(+ x (* x y))
(* x (+ y 1.0)))