\left(x \cdot x + y\right) + y
{x}^{2} + 2 \cdot ydouble f(double x, double y) {
double r502038 = x;
double r502039 = r502038 * r502038;
double r502040 = y;
double r502041 = r502039 + r502040;
double r502042 = r502041 + r502040;
return r502042;
}
double f(double x, double y) {
double r502043 = x;
double r502044 = 2.0;
double r502045 = pow(r502043, r502044);
double r502046 = y;
double r502047 = r502044 * r502046;
double r502048 = r502045 + r502047;
return r502048;
}




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