x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r34773951 = x;
double r34773952 = y;
double r34773953 = 1.0;
double r34773954 = r34773952 + r34773953;
double r34773955 = r34773951 * r34773954;
return r34773955;
}
double f(double x, double y) {
double r34773956 = x;
double r34773957 = y;
double r34773958 = r34773956 * r34773957;
double r34773959 = 1.0;
double r34773960 = r34773959 * r34773956;
double r34773961 = r34773958 + r34773960;
return r34773961;
}




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 2019169 +o rules:numerics
(FPCore (x y)
:name "Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, B"
:herbie-target
(+ x (* x y))
(* x (+ y 1.0)))