x \cdot \left(y + 1.0\right)
y \cdot x + 1.0 \cdot x
double f(double x, double y) {
double r37324935 = x;
double r37324936 = y;
double r37324937 = 1.0;
double r37324938 = r37324936 + r37324937;
double r37324939 = r37324935 * r37324938;
return r37324939;
}
double f(double x, double y) {
double r37324940 = y;
double r37324941 = x;
double r37324942 = r37324940 * r37324941;
double r37324943 = 1.0;
double r37324944 = r37324943 * r37324941;
double r37324945 = r37324942 + r37324944;
return r37324945;
}




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