\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r763608 = x;
double r763609 = r763608 * r763608;
double r763610 = y;
double r763611 = r763609 + r763610;
double r763612 = r763611 + r763610;
return r763612;
}
double f(double x, double y) {
double r763613 = y;
double r763614 = x;
double r763615 = fma(r763614, r763614, r763613);
double r763616 = r763613 + r763615;
return r763616;
}




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