\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r875079 = x;
double r875080 = r875079 * r875079;
double r875081 = y;
double r875082 = r875080 + r875081;
double r875083 = r875082 + r875081;
return r875083;
}
double f(double x, double y) {
double r875084 = x;
double r875085 = r875084 * r875084;
double r875086 = y;
double r875087 = r875086 + r875086;
double r875088 = r875085 + r875087;
return r875088;
}




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