\frac{x \cdot y}{2} - \frac{z}{8}\mathsf{fma}\left(\frac{x}{1}, \frac{y}{2}, -\frac{z}{8}\right)double code(double x, double y, double z) {
return ((double) (((double) (((double) (x * y)) / 2.0)) - ((double) (z / 8.0))));
}
double code(double x, double y, double z) {
return ((double) fma(((double) (x / 1.0)), ((double) (y / 2.0)), ((double) -(((double) (z / 8.0))))));
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.0
rmApplied *-un-lft-identity0.0
Applied times-frac0.0
Applied fma-neg0.0
Final simplification0.0
herbie shell --seed 2020123 +o rules:numerics
(FPCore (x y z)
:name "Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, D"
:precision binary64
(- (/ (* x y) 2) (/ z 8)))