\left(x \cdot x + y\right) + y
{x}^{2} + 2 \cdot ydouble f(double x, double y) {
double r612471 = x;
double r612472 = r612471 * r612471;
double r612473 = y;
double r612474 = r612472 + r612473;
double r612475 = r612474 + r612473;
return r612475;
}
double f(double x, double y) {
double r612476 = x;
double r612477 = 2.0;
double r612478 = pow(r612476, r612477);
double r612479 = y;
double r612480 = r612477 * r612479;
double r612481 = r612478 + r612480;
return r612481;
}




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