x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r939083 = x;
double r939084 = y;
double r939085 = 1.0;
double r939086 = r939084 + r939085;
double r939087 = r939083 * r939086;
return r939087;
}
double f(double x, double y) {
double r939088 = x;
double r939089 = y;
double r939090 = r939088 * r939089;
double r939091 = 1.0;
double r939092 = r939091 * r939088;
double r939093 = r939090 + r939092;
return r939093;
}




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