x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r672213 = x;
double r672214 = y;
double r672215 = 1.0;
double r672216 = r672214 + r672215;
double r672217 = r672213 * r672216;
return r672217;
}
double f(double x, double y) {
double r672218 = x;
double r672219 = y;
double r672220 = r672218 * r672219;
double r672221 = 1.0;
double r672222 = r672221 * r672218;
double r672223 = r672220 + r672222;
return r672223;
}




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