\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r696435 = x;
double r696436 = r696435 * r696435;
double r696437 = y;
double r696438 = r696436 + r696437;
double r696439 = r696438 + r696437;
return r696439;
}
double f(double x, double y) {
double r696440 = y;
double r696441 = 2.0;
double r696442 = x;
double r696443 = pow(r696442, r696441);
double r696444 = fma(r696440, r696441, r696443);
return r696444;
}




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