x \cdot \left(y + 1.0\right)
y \cdot x + 1.0 \cdot x
double f(double x, double y) {
double r14385978 = x;
double r14385979 = y;
double r14385980 = 1.0;
double r14385981 = r14385979 + r14385980;
double r14385982 = r14385978 * r14385981;
return r14385982;
}
double f(double x, double y) {
double r14385983 = y;
double r14385984 = x;
double r14385985 = r14385983 * r14385984;
double r14385986 = 1.0;
double r14385987 = r14385986 * r14385984;
double r14385988 = r14385985 + r14385987;
return r14385988;
}




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