x \cdot \left(y + 1\right)
x \cdot y + x \cdot 1
double f(double x, double y) {
double r703056 = x;
double r703057 = y;
double r703058 = 1.0;
double r703059 = r703057 + r703058;
double r703060 = r703056 * r703059;
return r703060;
}
double f(double x, double y) {
double r703061 = x;
double r703062 = y;
double r703063 = r703061 * r703062;
double r703064 = 1.0;
double r703065 = r703061 * r703064;
double r703066 = r703063 + r703065;
return r703066;
}




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