\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r718291 = x;
double r718292 = r718291 * r718291;
double r718293 = y;
double r718294 = r718292 + r718293;
double r718295 = r718294 + r718293;
return r718295;
}
double f(double x, double y) {
double r718296 = y;
double r718297 = 2.0;
double r718298 = x;
double r718299 = pow(r718298, r718297);
double r718300 = fma(r718296, r718297, r718299);
return r718300;
}




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