\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r559061 = x;
double r559062 = r559061 * r559061;
double r559063 = y;
double r559064 = r559062 + r559063;
double r559065 = r559064 + r559063;
return r559065;
}
double f(double x, double y) {
double r559066 = y;
double r559067 = x;
double r559068 = fma(r559067, r559067, r559066);
double r559069 = r559066 + r559068;
return r559069;
}




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