\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r741317 = x;
double r741318 = r741317 * r741317;
double r741319 = y;
double r741320 = r741318 + r741319;
double r741321 = r741320 + r741319;
return r741321;
}
double f(double x, double y) {
double r741322 = x;
double r741323 = r741322 * r741322;
double r741324 = y;
double r741325 = r741324 + r741324;
double r741326 = r741323 + r741325;
return r741326;
}




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