\frac{x \cdot y}{2} - \frac{z}{8}\frac{x \cdot y}{2} - \frac{z}{8}(FPCore (x y z) :precision binary64 (- (/ (* x y) 2.0) (/ z 8.0)))
(FPCore (x y z) :precision binary64 (- (/ (* x y) 2.0) (/ z 8.0)))
double code(double x, double y, double z) {
return ((x * y) / 2.0) - (z / 8.0);
}
double code(double x, double y, double z) {
return ((x * y) / 2.0) - (z / 8.0);
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2020232
(FPCore (x y z)
:name "Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, D"
:precision binary64
(- (/ (* x y) 2.0) (/ z 8.0)))