\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r35903742 = x;
double r35903743 = r35903742 * r35903742;
double r35903744 = y;
double r35903745 = r35903743 + r35903744;
double r35903746 = r35903745 + r35903744;
return r35903746;
}
double f(double x, double y) {
double r35903747 = x;
double r35903748 = r35903747 * r35903747;
double r35903749 = y;
double r35903750 = r35903749 + r35903749;
double r35903751 = r35903748 + r35903750;
return r35903751;
}




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