\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r39360377 = x;
double r39360378 = r39360377 * r39360377;
double r39360379 = y;
double r39360380 = r39360378 + r39360379;
double r39360381 = r39360380 + r39360379;
return r39360381;
}
double f(double x, double y) {
double r39360382 = x;
double r39360383 = r39360382 * r39360382;
double r39360384 = y;
double r39360385 = r39360384 + r39360384;
double r39360386 = r39360383 + r39360385;
return r39360386;
}




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