\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r824719 = x;
double r824720 = r824719 * r824719;
double r824721 = y;
double r824722 = r824720 + r824721;
double r824723 = r824722 + r824721;
return r824723;
}
double f(double x, double y) {
double r824724 = y;
double r824725 = 2.0;
double r824726 = x;
double r824727 = pow(r824726, r824725);
double r824728 = fma(r824724, r824725, r824727);
return r824728;
}




Bits error versus x




Bits error versus y
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
Taylor expanded around 0 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020060 +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))