\left(x \cdot x + y\right) + y
{x}^{2} + 2 \cdot ydouble f(double x, double y) {
double r937238 = x;
double r937239 = r937238 * r937238;
double r937240 = y;
double r937241 = r937239 + r937240;
double r937242 = r937241 + r937240;
return r937242;
}
double f(double x, double y) {
double r937243 = x;
double r937244 = 2.0;
double r937245 = pow(r937243, r937244);
double r937246 = y;
double r937247 = r937244 * r937246;
double r937248 = r937245 + r937247;
return r937248;
}




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