\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r547788 = x;
double r547789 = r547788 * r547788;
double r547790 = y;
double r547791 = r547789 + r547790;
double r547792 = r547791 + r547790;
return r547792;
}
double f(double x, double y) {
double r547793 = y;
double r547794 = x;
double r547795 = fma(r547794, r547794, r547793);
double r547796 = r547793 + r547795;
return r547796;
}




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