\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r862741 = x;
double r862742 = r862741 * r862741;
double r862743 = y;
double r862744 = r862742 + r862743;
double r862745 = r862744 + r862743;
return r862745;
}
double f(double x, double y) {
double r862746 = y;
double r862747 = x;
double r862748 = fma(r862747, r862747, r862746);
double r862749 = r862746 + r862748;
return r862749;
}




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