x \cdot \left(y + 1\right)
x \cdot y + x \cdot 1
double f(double x, double y) {
double r840151 = x;
double r840152 = y;
double r840153 = 1.0;
double r840154 = r840152 + r840153;
double r840155 = r840151 * r840154;
return r840155;
}
double f(double x, double y) {
double r840156 = x;
double r840157 = y;
double r840158 = r840156 * r840157;
double r840159 = 1.0;
double r840160 = r840156 * r840159;
double r840161 = r840158 + r840160;
return r840161;
}




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