\left(x \cdot x + y\right) + y
\mathsf{fma}\left(x, x, y + y\right)double f(double x, double y) {
double r48060656 = x;
double r48060657 = r48060656 * r48060656;
double r48060658 = y;
double r48060659 = r48060657 + r48060658;
double r48060660 = r48060659 + r48060658;
return r48060660;
}
double f(double x, double y) {
double r48060661 = x;
double r48060662 = y;
double r48060663 = r48060662 + r48060662;
double r48060664 = fma(r48060661, r48060661, r48060663);
return r48060664;
}




Bits error versus x




Bits error versus y
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0 |
Initial program 0.0
Simplified0.0
rmApplied fma-udef0.0
Applied associate-+l+0.0
rmApplied fma-def0
Final simplification0
herbie shell --seed 2019174 +o rules:numerics
(FPCore (x y)
:name "Data.Random.Distribution.Normal:normalTail from random-fu-0.2.6.2"
:herbie-target
(+ (+ y y) (* x x))
(+ (+ (* x x) y) y))