\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r879174 = x;
double r879175 = r879174 * r879174;
double r879176 = y;
double r879177 = r879175 + r879176;
double r879178 = r879177 + r879176;
return r879178;
}
double f(double x, double y) {
double r879179 = x;
double r879180 = r879179 * r879179;
double r879181 = y;
double r879182 = r879181 + r879181;
double r879183 = r879180 + r879182;
return r879183;
}




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