x \cdot \left(y + 1\right)
x \cdot y + x \cdot 1
double f(double x, double y) {
double r926093 = x;
double r926094 = y;
double r926095 = 1.0;
double r926096 = r926094 + r926095;
double r926097 = r926093 * r926096;
return r926097;
}
double f(double x, double y) {
double r926098 = x;
double r926099 = y;
double r926100 = r926098 * r926099;
double r926101 = 1.0;
double r926102 = r926098 * r926101;
double r926103 = r926100 + r926102;
return r926103;
}




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