\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r13810356 = x;
double r13810357 = r13810356 * r13810356;
double r13810358 = y;
double r13810359 = r13810357 + r13810358;
double r13810360 = r13810359 + r13810358;
return r13810360;
}
double f(double x, double y) {
double r13810361 = x;
double r13810362 = r13810361 * r13810361;
double r13810363 = y;
double r13810364 = r13810363 + r13810363;
double r13810365 = r13810362 + r13810364;
return r13810365;
}




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