\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r716255 = x;
double r716256 = r716255 * r716255;
double r716257 = y;
double r716258 = r716256 + r716257;
double r716259 = r716258 + r716257;
return r716259;
}
double f(double x, double y) {
double r716260 = y;
double r716261 = x;
double r716262 = fma(r716261, r716261, r716260);
double r716263 = r716260 + r716262;
return r716263;
}




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