\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r915171 = x;
double r915172 = r915171 * r915171;
double r915173 = y;
double r915174 = r915172 + r915173;
double r915175 = r915174 + r915173;
return r915175;
}
double f(double x, double y) {
double r915176 = y;
double r915177 = 2.0;
double r915178 = x;
double r915179 = pow(r915178, r915177);
double r915180 = fma(r915176, r915177, r915179);
return r915180;
}




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 2020065 +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))