\mathsf{fma}\left(x, \frac{y}{a}, z\right)\mathsf{fma}\left(x, \frac{y}{a}, z\right)double code(double x, double y, double a, double z) {
return ((double) fma(x, ((double) (y / a)), z));
}
double code(double x, double y, double a, double z) {
return ((double) fma(x, ((double) (y / a)), z));
}



Bits error versus x



Bits error versus y



Bits error versus a



Bits error versus z
Results
Initial program 3.9
Final simplification3.9
herbie shell --seed 2020153
(FPCore (x y a z)
:name "(fma x (/ y a) z)"
:precision binary64
(fma x (/ y a) z))