\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r868320 = x;
double r868321 = r868320 * r868320;
double r868322 = y;
double r868323 = r868321 + r868322;
double r868324 = r868323 + r868322;
return r868324;
}
double f(double x, double y) {
double r868325 = x;
double r868326 = r868325 * r868325;
double r868327 = y;
double r868328 = r868327 + r868327;
double r868329 = r868326 + r868328;
return r868329;
}




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