\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i
\left(\mathsf{fma}\left(t, z, x \cdot y\right) + a \cdot b\right) + c \cdot idouble code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((x * y) + (z * t)) + (a * b)) + (c * i));
}
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((fma(t, z, (x * y)) + (a * b)) + (c * i));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c



Bits error versus i
Results
Initial program 0.0
Taylor expanded around inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020057 +o rules:numerics
(FPCore (x y z t a b c i)
:name "Linear.V4:$cdot from linear-1.19.1.3"
:precision binary64
(+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))