\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r664681 = x;
double r664682 = r664681 * r664681;
double r664683 = y;
double r664684 = r664682 + r664683;
double r664685 = r664684 + r664683;
return r664685;
}
double f(double x, double y) {
double r664686 = y;
double r664687 = x;
double r664688 = fma(r664687, r664687, r664686);
double r664689 = r664686 + r664688;
return r664689;
}




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