x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r25431480 = x;
double r25431481 = y;
double r25431482 = 1.0;
double r25431483 = r25431481 + r25431482;
double r25431484 = r25431480 * r25431483;
return r25431484;
}
double f(double x, double y) {
double r25431485 = x;
double r25431486 = y;
double r25431487 = r25431485 * r25431486;
double r25431488 = 1.0;
double r25431489 = r25431488 * r25431485;
double r25431490 = r25431487 + r25431489;
return r25431490;
}




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