\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r491198 = x;
double r491199 = r491198 * r491198;
double r491200 = y;
double r491201 = r491199 + r491200;
double r491202 = r491201 + r491200;
return r491202;
}
double f(double x, double y) {
double r491203 = y;
double r491204 = x;
double r491205 = fma(r491204, r491204, r491203);
double r491206 = r491203 + r491205;
return r491206;
}




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