\left(x \cdot x + y\right) + y
{x}^{2} + 2 \cdot ydouble f(double x, double y) {
double r503130 = x;
double r503131 = r503130 * r503130;
double r503132 = y;
double r503133 = r503131 + r503132;
double r503134 = r503133 + r503132;
return r503134;
}
double f(double x, double y) {
double r503135 = x;
double r503136 = 2.0;
double r503137 = pow(r503135, r503136);
double r503138 = y;
double r503139 = r503136 * r503138;
double r503140 = r503137 + r503139;
return r503140;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied *-un-lft-identity0.0
Applied *-un-lft-identity0.0
Applied distribute-lft-out0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019304
(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))