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



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
Initial program Error: 0.1 bits
rmApplied associate-/r*Error: 0.0 bits
SimplifiedError: 0.0 bits
Final simplificationError: 0.0 bits
herbie shell --seed 2020204
(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)))