\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r37952835 = x;
double r37952836 = r37952835 * r37952835;
double r37952837 = y;
double r37952838 = r37952836 + r37952837;
double r37952839 = r37952838 + r37952837;
return r37952839;
}
double f(double x, double y) {
double r37952840 = x;
double r37952841 = r37952840 * r37952840;
double r37952842 = y;
double r37952843 = r37952842 + r37952842;
double r37952844 = r37952841 + r37952843;
return r37952844;
}




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 2019171
(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))