\left(x \cdot x + \left(x \cdot 2\right) \cdot y\right) + y \cdot y
x \cdot \left(2 \cdot y + x\right) + {y}^{2}double f(double x, double y) {
double r425709 = x;
double r425710 = r425709 * r425709;
double r425711 = 2.0;
double r425712 = r425709 * r425711;
double r425713 = y;
double r425714 = r425712 * r425713;
double r425715 = r425710 + r425714;
double r425716 = r425713 * r425713;
double r425717 = r425715 + r425716;
return r425717;
}
double f(double x, double y) {
double r425718 = x;
double r425719 = 2.0;
double r425720 = y;
double r425721 = r425719 * r425720;
double r425722 = r425721 + r425718;
double r425723 = r425718 * r425722;
double r425724 = 2.0;
double r425725 = pow(r425720, r425724);
double r425726 = r425723 + r425725;
return r425726;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
rmApplied distribute-lft-in0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019297
(FPCore (x y)
:name "Examples.Basics.ProofTests:f4 from sbv-4.4"
:precision binary64
:herbie-target
(+ (* x x) (+ (* y y) (* (* x y) 2)))
(+ (+ (* x x) (* (* x 2) y)) (* y y)))