\left(x \cdot x + y\right) + y
y + \mathsf{fma}\left(x, x, y\right)double f(double x, double y) {
double r878927 = x;
double r878928 = r878927 * r878927;
double r878929 = y;
double r878930 = r878928 + r878929;
double r878931 = r878930 + r878929;
return r878931;
}
double f(double x, double y) {
double r878932 = y;
double r878933 = x;
double r878934 = fma(r878933, r878933, r878932);
double r878935 = r878932 + r878934;
return r878935;
}




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