\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i
\left(x \cdot y + z \cdot t\right) + \left(a \cdot b + c \cdot i\right)
(FPCore (x y z t a b c i) :precision binary64 (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))
(FPCore (x y z t a b c i) :precision binary64 (+ (+ (* 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 (((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 ((x * y) + (z * t)) + ((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
rmApplied associate-+l+_binary64_34210.0
Final simplification0.0
herbie shell --seed 2020342
(FPCore (x y z t a b c i)
:name "Linear.V4:$cdot from linear-1.19.1.3, C"
:precision binary64
(+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))