x \cdot \left(y + 1\right)
x \cdot y + 1 \cdot x
double f(double x, double y) {
double r538310 = x;
double r538311 = y;
double r538312 = 1.0;
double r538313 = r538311 + r538312;
double r538314 = r538310 * r538313;
return r538314;
}
double f(double x, double y) {
double r538315 = x;
double r538316 = y;
double r538317 = r538315 * r538316;
double r538318 = 1.0;
double r538319 = r538318 * r538315;
double r538320 = r538317 + r538319;
return r538320;
}




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