\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r881410 = x;
double r881411 = r881410 * r881410;
double r881412 = y;
double r881413 = r881411 + r881412;
double r881414 = r881413 + r881412;
return r881414;
}
double f(double x, double y) {
double r881415 = y;
double r881416 = 2.0;
double r881417 = x;
double r881418 = pow(r881417, r881416);
double r881419 = fma(r881415, r881416, r881418);
return r881419;
}




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