\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r134132 = x;
double r134133 = r134132 * r134132;
double r134134 = y;
double r134135 = r134133 + r134134;
double r134136 = r134135 + r134134;
return r134136;
}
double f(double x, double y) {
double r134137 = y;
double r134138 = x;
double r134139 = fma(r134138, r134138, r134137);
double r134140 = r134137 + r134139;
return r134140;
}




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