\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r34580153 = x;
double r34580154 = r34580153 * r34580153;
double r34580155 = y;
double r34580156 = r34580154 + r34580155;
double r34580157 = r34580156 + r34580155;
return r34580157;
}
double f(double x, double y) {
double r34580158 = y;
double r34580159 = x;
double r34580160 = fma(r34580159, r34580159, r34580158);
double r34580161 = r34580158 + r34580160;
return r34580161;
}




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 2019162 +o rules:numerics
(FPCore (x y)
:name "Data.Random.Distribution.Normal:normalTail from random-fu-0.2.6.2"
:herbie-target
(+ (+ y y) (* x x))
(+ (+ (* x x) y) y))