\left(x \cdot x + y\right) + y
{x}^{2} + 2 \cdot ydouble f(double x, double y) {
double r541865 = x;
double r541866 = r541865 * r541865;
double r541867 = y;
double r541868 = r541866 + r541867;
double r541869 = r541868 + r541867;
return r541869;
}
double f(double x, double y) {
double r541870 = x;
double r541871 = 2.0;
double r541872 = pow(r541870, r541871);
double r541873 = y;
double r541874 = r541871 * r541873;
double r541875 = r541872 + r541874;
return r541875;
}




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