x \cdot \left(y + 1\right)
1 \cdot x + x \cdot y
double f(double x, double y) {
double r38251947 = x;
double r38251948 = y;
double r38251949 = 1.0;
double r38251950 = r38251948 + r38251949;
double r38251951 = r38251947 * r38251950;
return r38251951;
}
double f(double x, double y) {
double r38251952 = 1.0;
double r38251953 = x;
double r38251954 = r38251952 * r38251953;
double r38251955 = y;
double r38251956 = r38251953 * r38251955;
double r38251957 = r38251954 + r38251956;
return r38251957;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied distribute-rgt-in0.0
Final simplification0.0
herbie shell --seed 2019200 +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)))