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



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 6.3
Final simplification6.3
herbie shell --seed 2020152
(FPCore (x y z)
:name "(fma (* x x) y z)"
:precision binary64
(fma (* x x) y z))