\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r961565 = x;
double r961566 = r961565 * r961565;
double r961567 = y;
double r961568 = r961566 + r961567;
double r961569 = r961568 + r961567;
return r961569;
}
double f(double x, double y) {
double r961570 = y;
double r961571 = x;
double r961572 = fma(r961571, r961571, r961570);
double r961573 = r961570 + r961572;
return r961573;
}




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