\left(x \cdot x + y\right) + y
x \cdot x + \left(y + y\right)
double f(double x, double y) {
double r51596935 = x;
double r51596936 = r51596935 * r51596935;
double r51596937 = y;
double r51596938 = r51596936 + r51596937;
double r51596939 = r51596938 + r51596937;
return r51596939;
}
double f(double x, double y) {
double r51596940 = x;
double r51596941 = r51596940 * r51596940;
double r51596942 = y;
double r51596943 = r51596942 + r51596942;
double r51596944 = r51596941 + r51596943;
return r51596944;
}




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