\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r446048 = x;
double r446049 = r446048 * r446048;
double r446050 = y;
double r446051 = r446049 + r446050;
double r446052 = r446051 + r446050;
return r446052;
}
double f(double x, double y) {
double r446053 = y;
double r446054 = x;
double r446055 = fma(r446054, r446054, r446053);
double r446056 = r446053 + r446055;
return r446056;
}




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