\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r33069556 = x;
double r33069557 = r33069556 * r33069556;
double r33069558 = y;
double r33069559 = r33069557 + r33069558;
double r33069560 = r33069559 + r33069558;
return r33069560;
}
double f(double x, double y) {
double r33069561 = y;
double r33069562 = x;
double r33069563 = fma(r33069562, r33069562, r33069561);
double r33069564 = r33069561 + r33069563;
return r33069564;
}




Bits error versus x




Bits error versus y
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019169 +o rules:numerics
(FPCore (x y)
:name "Data.Random.Distribution.Normal:normalTail from random-fu-0.2.6.2"
:herbie-target
(+ (+ y y) (* x x))
(+ (+ (* x x) y) y))