\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r771628 = x;
double r771629 = r771628 * r771628;
double r771630 = y;
double r771631 = r771629 + r771630;
double r771632 = r771631 + r771630;
return r771632;
}
double f(double x, double y) {
double r771633 = x;
double r771634 = r771633 * r771633;
double r771635 = y;
double r771636 = r771635 + r771635;
double r771637 = r771634 + r771636;
return r771637;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied associate-+l+0.0
Final simplification0.0
herbie shell --seed 2020018
(FPCore (x y)
:name "Data.Random.Distribution.Normal:normalTail from random-fu-0.2.6.2"
:precision binary64
:herbie-target
(+ (+ y y) (* x x))
(+ (+ (* x x) y) y))