\left(x \cdot x + y\right) + y
x \cdot x + 2 \cdot y
double f(double x, double y) {
double r532386 = x;
double r532387 = r532386 * r532386;
double r532388 = y;
double r532389 = r532387 + r532388;
double r532390 = r532389 + r532388;
return r532390;
}
double f(double x, double y) {
double r532391 = x;
double r532392 = r532391 * r532391;
double r532393 = 2.0;
double r532394 = y;
double r532395 = r532393 * r532394;
double r532396 = r532392 + r532395;
return r532396;
}




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
Simplified0.0
Final simplification0.0
herbie shell --seed 2019326
(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))