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



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
Initial program 0.1
Applied add-cube-cbrt_binary640.5
Applied add-cube-cbrt_binary641.3
Applied prod-diff_binary641.3
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2022076
(FPCore (x y z t)
:name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, B"
:precision binary64
(/ (- (+ x y) z) (* t 2.0)))