\left(x \cdot x + y\right) + y
{x}^{2} + 2 \cdot ydouble f(double x, double y) {
double r490245 = x;
double r490246 = r490245 * r490245;
double r490247 = y;
double r490248 = r490246 + r490247;
double r490249 = r490248 + r490247;
return r490249;
}
double f(double x, double y) {
double r490250 = x;
double r490251 = 2.0;
double r490252 = pow(r490250, r490251);
double r490253 = y;
double r490254 = r490251 * r490253;
double r490255 = r490252 + r490254;
return r490255;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Taylor expanded around 0 0.0
Final simplification0.0
herbie shell --seed 2019323
(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))