x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r62373 = x;
double r62374 = y;
double r62375 = 1.0;
double r62376 = r62374 + r62375;
double r62377 = r62373 * r62376;
return r62377;
}
double f(double x, double y) {
double r62378 = x;
double r62379 = y;
double r62380 = r62378 * r62379;
double r62381 = 1.0;
double r62382 = r62381 * r62378;
double r62383 = r62380 + r62382;
return r62383;
}




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