x \cdot \left(y + 1\right)
y \cdot x + x \cdot 1
double f(double x, double y) {
double r858036 = x;
double r858037 = y;
double r858038 = 1.0;
double r858039 = r858037 + r858038;
double r858040 = r858036 * r858039;
return r858040;
}
double f(double x, double y) {
double r858041 = y;
double r858042 = x;
double r858043 = r858041 * r858042;
double r858044 = 1.0;
double r858045 = r858042 * r858044;
double r858046 = r858043 + r858045;
return r858046;
}




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