\left(x \cdot x + y\right) + y
\left(y + y\right) + x \cdot x
double f(double x, double y) {
double r39678840 = x;
double r39678841 = r39678840 * r39678840;
double r39678842 = y;
double r39678843 = r39678841 + r39678842;
double r39678844 = r39678843 + r39678842;
return r39678844;
}
double f(double x, double y) {
double r39678845 = y;
double r39678846 = r39678845 + r39678845;
double r39678847 = x;
double r39678848 = r39678847 * r39678847;
double r39678849 = r39678846 + r39678848;
return r39678849;
}




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 2019200
(FPCore (x y)
:name "Data.Random.Distribution.Normal:normalTail from random-fu-0.2.6.2"
:herbie-target
(+ (+ y y) (* x x))
(+ (+ (* x x) y) y))