\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r725443 = x;
double r725444 = r725443 * r725443;
double r725445 = y;
double r725446 = r725444 + r725445;
double r725447 = r725446 + r725445;
return r725447;
}
double f(double x, double y) {
double r725448 = y;
double r725449 = 2.0;
double r725450 = x;
double r725451 = pow(r725450, r725449);
double r725452 = fma(r725448, r725449, r725451);
return r725452;
}




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