\left(x + y\right) \cdot z
\mathsf{fma}\left(x, z, z \cdot y\right)double code(double x, double y, double z) {
return ((x + y) * z);
}
double code(double x, double y, double z) {
return fma(x, z, (z * y));
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.0
rmApplied pow10.0
Applied pow10.0
Applied pow-prod-down0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020057 +o rules:numerics
(FPCore (x y z)
:name "Text.Parsec.Token:makeTokenParser from parsec-3.1.9, B"
:precision binary64
(* (+ x y) z))