\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r816047 = x;
double r816048 = r816047 * r816047;
double r816049 = y;
double r816050 = r816048 + r816049;
double r816051 = r816050 + r816049;
return r816051;
}
double f(double x, double y) {
double r816052 = y;
double r816053 = x;
double r816054 = fma(r816053, r816053, r816052);
double r816055 = r816052 + r816054;
return r816055;
}




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