\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r822802 = x;
double r822803 = r822802 * r822802;
double r822804 = y;
double r822805 = r822803 + r822804;
double r822806 = r822805 + r822804;
return r822806;
}
double f(double x, double y) {
double r822807 = y;
double r822808 = x;
double r822809 = fma(r822808, r822808, r822807);
double r822810 = r822807 + r822809;
return r822810;
}




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