\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r569388 = x;
double r569389 = r569388 * r569388;
double r569390 = y;
double r569391 = r569389 + r569390;
double r569392 = r569391 + r569390;
return r569392;
}
double f(double x, double y) {
double r569393 = y;
double r569394 = x;
double r569395 = fma(r569394, r569394, r569393);
double r569396 = r569393 + r569395;
return r569396;
}




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