\left(x \cdot x + y\right) + y
\mathsf{fma}\left(y, 2, {x}^{2}\right)double f(double x, double y) {
double r632452 = x;
double r632453 = r632452 * r632452;
double r632454 = y;
double r632455 = r632453 + r632454;
double r632456 = r632455 + r632454;
return r632456;
}
double f(double x, double y) {
double r632457 = y;
double r632458 = 2.0;
double r632459 = x;
double r632460 = pow(r632459, r632458);
double r632461 = fma(r632457, r632458, r632460);
return r632461;
}




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