\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r858896 = x;
double r858897 = r858896 * r858896;
double r858898 = y;
double r858899 = r858897 + r858898;
double r858900 = r858899 + r858898;
return r858900;
}
double f(double x, double y) {
double r858901 = y;
double r858902 = 2.0;
double r858903 = x;
double r858904 = pow(r858903, r858902);
double r858905 = fma(r858901, r858902, r858904);
return r858905;
}




Bits error versus x




Bits error versus y
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
rmApplied *-un-lft-identity0.0
Applied *-un-lft-identity0.0
Applied distribute-lft-out0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019353 +o rules:numerics
(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))