\frac{\left(x + y\right) - z}{t \cdot 2}\frac{\left(y + x\right) - z}{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
| Alternative 1 | |
|---|---|
| Error | 9.7 |
| Cost | 1090 |
| Alternative 2 | |
|---|---|
| Error | 9.8 |
| Cost | 1090 |
| Alternative 3 | |
|---|---|
| Error | 9.6 |
| Cost | 776 |
| Alternative 4 | |
|---|---|
| Error | 14.1 |
| Cost | 1041 |
| Alternative 5 | |
|---|---|
| Error | 14.2 |
| Cost | 1041 |
| Alternative 6 | |
|---|---|
| Error | 29.8 |
| Cost | 2246 |
| Alternative 7 | |
|---|---|
| Error | 30.2 |
| Cost | 648 |
| Alternative 8 | |
|---|---|
| Error | 40.9 |
| Cost | 320 |
| Alternative 9 | |
|---|---|
| Error | 60.8 |
| Cost | 64 |
| Alternative 10 | |
|---|---|
| Error | 61.7 |
| Cost | 64 |

Initial program 0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2021044
(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)))